Default code page for each language version of Windows

删除回忆录丶 提交于 2019-12-23 10:53:38

问题


Where can I find information about which code page is default for each language version of Windows? I.e the "ANSI" code page for each language version.

I've found the Code Pages Supported by Windows, but I cannot find the defaults for each language.

I'm guessing that for instance, Windows-1253 (Greek) is the default when installing the Greek language version. But what about the other code pages? And is Windows-1253 the default for any other language version?


回答1:


You can enumerate all the locales (using EnumSystemLocales/EnumSystemLocalesEx), then get the ANSI code page (GetLocaleInfo/GetLocaleInfoEx with LOCALE_IDEFAULTANSICODEPAGE).



来源:https://stackoverflow.com/questions/3864240/default-code-page-for-each-language-version-of-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!