Hi!
I have an application which is not yet unicode supported, and have no plans of doing so as of the momment.
But I have a module in it that needs to convert all the users input (in CEdit control) to 2 bytes. I need to make all ascii text to be properly formatted in 2 bytes (i.e. h e l l o). the chinese text appears ok. coz one char already consider as 2 bytes.
The bigger problem is the user can also input mix english and chinese in the edit control.
i stored the value in Cstring and std::string.
Do you know a way where when i get the values from the control, its already formatted properly in 2 bytes. or is there anyway? The most important thing is to get all the users iinput in 2 bytes.
I have an application which is not yet unicode supported, and have no plans of doing so as of the momment.
But I have a module in it that needs to convert all the users input (in CEdit control) to 2 bytes. I need to make all ascii text to be properly formatted in 2 bytes (i.e. h e l l o). the chinese text appears ok. coz one char already consider as 2 bytes.
The bigger problem is the user can also input mix english and chinese in the edit control.
i stored the value in Cstring and std::string.
Do you know a way where when i get the values from the control, its already formatted properly in 2 bytes. or is there anyway? The most important thing is to get all the users iinput in 2 bytes.