【发布时间】:2012-12-17 10:08:54
【问题描述】:
在 Windows 上不使用 Unicode 有什么缺点?
对于 Unicode,我的意思是 WCHAR 和广泛的 API 函数。 (CreateWindowW、MessageBoxW 等)
不使用它会遇到什么问题?
【问题讨论】:
-
Windows 所称的“Unicode”更准确地称为“UTF-16”,是 Unicode 的几种表示形式之一。
-
准确来说也是little endian utf-16
-
utf8everywhere.org 深入讨论了在 Windows 上为 C++ 程序使用 Unicode 的正确与错误。
标签: c++ c windows winapi unicode