Unicode-enabling Microsoft C/C++ Source Code
2007-11-16 01:11
591 查看
Today, my team leader assigned me a task to design the localization. I feel surprised that I could get this workitem. Tonight I found some useful stuff that refer to the unicode and mbcs.
1.
httop://www.i18nguy.com/unicode/c-unicode.html
2. Unicode, MBCS and Generic text mappings
In order to allow your programs to be used in the international markets it is worth making your application Unicode or MBCS aware. The Unicode character set is a "wide character" (2 bytes per character) set that contains every character available in every language, including all technical symbols and special publishing characters. Multibytes character set (MBCS) uses either 1 or 2 bytes per character and is used for character sets that contain large number of different characters(eg Asian language character sets).
Which character set you use depends on the language and the operating system. Unicode requires more space than MBCS since each character is 2 bytes. It is also faster than MBCS and is used by Windows NT as standard, so non-Unicode strings pased to and from the operating system must be translated, incurring overhead. However, Unicode is not supported on Win95 and so MBCS may be a better choice in this situation. Note that if you wish to develop applications in the Windows CE environment then all applications must be compiled in Unicode.
http://www.codeproject.com/cpp/unicode.asp
3. Introduction to Software Translation for MFC
http://www.codeproject.com/cpp/introtolocalization.asp
4. Windows SetThreadLocale and CRT setlocale
http://www.codeproject.com/cpp/CRTSynch.asp
http://www.codeproject.com/string/stringtable.asp
http://www.codeproject.com/string/stringtable.asp
http://www.codeproject.com/tips/internationalization.asp
1.
httop://www.i18nguy.com/unicode/c-unicode.html
2. Unicode, MBCS and Generic text mappings
In order to allow your programs to be used in the international markets it is worth making your application Unicode or MBCS aware. The Unicode character set is a "wide character" (2 bytes per character) set that contains every character available in every language, including all technical symbols and special publishing characters. Multibytes character set (MBCS) uses either 1 or 2 bytes per character and is used for character sets that contain large number of different characters(eg Asian language character sets).
Which character set you use depends on the language and the operating system. Unicode requires more space than MBCS since each character is 2 bytes. It is also faster than MBCS and is used by Windows NT as standard, so non-Unicode strings pased to and from the operating system must be translated, incurring overhead. However, Unicode is not supported on Win95 and so MBCS may be a better choice in this situation. Note that if you wish to develop applications in the Windows CE environment then all applications must be compiled in Unicode.
http://www.codeproject.com/cpp/unicode.asp
3. Introduction to Software Translation for MFC
http://www.codeproject.com/cpp/introtolocalization.asp
4. Windows SetThreadLocale and CRT setlocale
http://www.codeproject.com/cpp/CRTSynch.asp
http://www.codeproject.com/string/stringtable.asp
http://www.codeproject.com/string/stringtable.asp
http://www.codeproject.com/tips/internationalization.asp
相关文章推荐
- Cheat Sheet:unicode-enabling Microsoftc/c++ source code (from http://www.i18nguy.com/unicode/c-unicode.html)
- Unicode-enabling Microsoft C/C++ Source Code
- Unicode-enabling Microsoft C/C++ Source Code
- Unicode-enabling Microsoft C/C++ Source Code(转载)
- Unicode-enabling Microsoft C/C++ Source Code(转载)
- Unicode-enabling Microsoft C/C++
- Beautify your c/c++ source code
- 12 Source Code Profilers for C & C++
- Beautify your c/c++ source code
- source code analyzer 功能强大的C/C++源代码分析软件 Celerity CRACK 破解版
- disassambe c++ source code
- C/C++ Source Code Analysis
- C/C++ Log function source code
- Microsoft Reference Source Code Center
- 解决"python setup.py egg_info" failed with error code 1以及error: Microsoft Visual C++ 14.0 is required
- gdal source code c++ make windows
- Code::Blocks The open source, cross platform, free C++ IDE.
- Serial library for C++. Free source code and programming help
- 12 Source Code Profilers for C & C++
- THE FASTEST C++ IMPLEMENTATION FOR ORIGINAL DPM — SOURCE CODE DOWNLOAD - BUG Fixed