分类: C/C++
2007-08-08 14:32:16
|
To specify Unicode, declare the following codes in your project settings:
|
The advantage of using Unicode in your applications is that it enables you to easily localize your application into languages such as Chinese, where two bytes are required to store character. ANSI applications require special DBSS ( Double Byte Character Set) function in order to be localized into languages such as Chinese.
The advantage of using ANSI strings is that, in Microsoft Windows 95, the Windows system calls take ANSI strings; therefore, you must convert Unicode strings to ANSI before calling into these functions.