Click here to Skip to main content
15,891,767 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
Hi

I want to add wide char support to my software. If I do this, I will need to change a lot of code. If the software is changed to wide char, does this wide char software can handle ANSI char as it used to be?

Is there any advice or good experience?

Thanks,
Posted
Updated 20-Jan-11 17:13pm
v2

See [^].
:)

 
Share this answer
 
I am not sure what do you mean by "handle" ANSI char. Note that everything is represented as Unicode, in an application that is built for Unicode. There is a two part article at CP, that you might want to read:
The Complete Guide to C++ Strings, Part I - Win32 Character Encodings[^]
The Complete Guide to C++ Strings, Part II - String Wrapper Classes[^]

Also, if you write an application in ANSI, Windows will still have to convert everything to Unicode internally to work with it. So, theoretically your application must be faster if it is built for Unicode.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900