wchar_t TCHAR and all that
Posted: Sat Jul 14, 2012 12:54 am
So, I occasionally run into users whose username is in a foreign language (e.g., Chinese). This means that some paths may need to be Unicode so that the characters turn out as characters instead of ??. That said, the plug-in architecture seems to be based around char *. Is there a way to support these users? My plug-in is current compiled "MultiByte" instead of "Unicode". If I switch to Unicode, I will need to change strings to wstrings, chars to wchar, which is fine, but what is the recommendation from InstallAware's side?
(In particular, I am checking the registry in my app and needing to pull registry values in Unicode instead of single chars - which turns chinese characters into ??)
Thanks in advance,
Tim
(In particular, I am checking the registry in my app and needing to pull registry values in Unicode instead of single chars - which turns chinese characters into ??)
Thanks in advance,
Tim