Windows的每个语言版本的默认代码页

编程入门 行业动态 更新时间:2024-10-13 12:16:35
本文介绍了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的每个语言版本的默认代码页

本文发布于:2023-11-07 00:25:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565056.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:版本   语言   代码   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!