Windows的每个语言版本的默认代码页 [英] Default code page for each language version of Windows

查看:513
本文介绍了Windows的每个语言版本的默认代码页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到关于每个语言版本的Windows的默认代码页的信息?

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.

我找到了 Windows支持的代码页,但我找不到每种语言的默认值。

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

我猜猜,例如,安装希腊语版本时默认为Windows-1253(希腊语)。但是其他代码页呢?

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?

推荐答案

您可以枚举所有语言环境(使用EnumSystemLocales / EnumSystemLocalesEx) ,然后获取ANSI代码页(GetLocaleInfo / GetLocaleInfoEx与LOCALE_IDEFAULTANSICODEPAGE)。

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

这篇关于Windows的每个语言版本的默认代码页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆