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

发布于 2024-09-25 20:16:13 字数 737 浏览 5 评论 0原文

在哪里可以找到有关 Windows 每种语言版本的默认代码页的信息?即每种语言版本的“ANSI”代码页。

我找到了 Windows 支持的代码页:

但是,我找不到每种语言的默认值。

例如,我猜测 Windows-1253(希腊语)是安装希腊语版本时的默认设置。但是其他代码页呢? Windows-1253 是其他语言版本的默认值吗?

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:

However, 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

清君侧 2024-10-02 20:16:13

根据Mihai Nita的建议,我提取了以下数据。为了简洁起见,我将一些具有多种变体的语言总结为xx-*。

这些是 ISO 639-1 语言代码。维基百科还提供有关代码页的更多信息。

Windows-1250 / Latin-2(中欧)

bs、bs-Latn、bs-Latn-BA、cs、cs-CZ、hr、hr-BA、hr-HR、hu、hu-HU、hu-HU_technl、pl、pl-PL、ro、ro -MD、滚装-滚装、sk、sk-SK、sl、sl-SI、sq、sq-AL、sq-MK、sq-XK、sr、sr-Latn、sr-Latn-BA、sr-Latn-ME , sr-Latn-RS, sr-Latn-XK, tk, tk-TM

Windows-1251(西里尔字母)

az-Cyrl、az-Cyrl-AZ、ba、ba-RU、be、be-BY、bg、bg-BG、bs-Cyrl、bs-Cyrl-BA、ky、ky-KG、mk、mk -MK、mn、mn-Cyrl、mn-MN、ru、ru-BY、ru-KG、ru-KZ、ru-MD、ru-RU、ru-UA、sah、sah-RU、sr-Cyrl、sr -Cyrl-BA、sr-Cyrl-ME、sr-Cyrl-RS、sr-Cyrl-XK、tg、tg-Cyrl、tg-Cyrl-TJ、tt、tt-RU、uk、uk-UA、uz-Cyrl , uz-Cyrl-UZ

Windows-1252 / Latin-1(西欧)

af、af-NA、af-ZA、arn、arn-CL、bin、bin-NG、br、br-FR、ca、ca-AD、ca-ES、ca-es-*、ca-FR , ca-IT, co, co-FR, cy, cy-GB, da, da-DK, da-GL, de, de-*, dsb, dsb-DE, en, en-*, es, es-* , eu, eu-ES, ff, ff-*, fi, fi-*, fil, fil-PH, fo, fo-FO, fr, fr-*, fy, fy-NL, ga, ga-IE, gd , gd-GB, gl, gl-ES, gn, gn-PY, gsw, gsw-CH, gsw-FR, gsw-LI, ha, ha-*, haw, haw-US, hsb, hsb-DE, ibb , ibb-NG, id, id-ID, ig, ig-NG, is, is-IS, it, it-CH, it-IT, it-SM, iu, iu-Latn, iu-Latn-CA, jv 、jv-Java、jv-Java-ID、jv-Latn、jv-Latn-ID、kl、kl-GL、kr、kr-Latn、kr-Latn-NG、la、la-001、lb、lb-LU , moh, moh-CA, ms, ms-BN, ms-MY, ms-SG, nb, nb-NO, nb-SJ, nl, nl-*, nn, nn-NO, no, nso, nso-ZA , oc, oc-FR, pap, pap-029, pt, pt-*, quc, quc-Latn, quc-Latn-GT, quz, quz-BO, quz-EC, quz-PE, rm, rm-CH 、rw、rw-RW、se、se-FI、se-NO、se-SE、sma、sma-NO、sma-SE、smj、smj-NO、smj-SE、smn、smn-FI、sms、sms -FI、sv、sv-AX、sv-FI、sv-SE、sw、sw-CD、sw-KE、sw-TZ、sw-UG、tn、tn-BW、tn-ZA、tzm、tzm-Latn , tzm-Latn-DZ, wo, wo-SN, x-IV_mathan, xh, xh-ZA, yo, yo-BJ, yo-NG, zu, zu-ZA

Windows-1253(希腊语)

el、el-CY、el-GR

Windows-1254(土耳其语)

az、az-Latn、az-Latn-AZ、tr、tr-CY、tr-TR、uz、uz-Latn、uz-Latn-UZ

Windows-1255(希伯来语)

他,他-IL

Windows-1256(阿拉伯语)

ar、ar-*、fa、fa-IR、ku、ku-Arab、ku-Arab-IQ、pa-Arab、pa-Arab-PK、prs、prs-AF、sd、sd-Arab、sd -Arab-PK、tzm-Arab、tzm-Arab-MA、ug、ug-CN、ur、ur-IN、ur-PK

Windows-1257(波罗的海)

et、et-EE、lt、lt-LT、lv、lv-LV

Windows 1258(越南语)

vi,vi-VN

CP874:ISO 8859-11(泰语)

第,第-TH

CP932:Shift JIS(日语)

ja、ja-JP、ja-JP_radstr

CP936:GBK(中文)

zh、zh-CN、zh-CN_phoneb、zh-CN_行程、zh-Hans、zh-Hans-HK、zh-Hans-MO、zh-SG、zh-SG_phoneb、zh-SG_行程

CP949:统一韩文代码(韩语)

ko,ko-KR

CP950:Big5(中文)

zh-Hant、zh-HK、zh-HK_radstr、zh-MO、zh-MO_radstr、zh-MO_笔划、zh-TW、zh-TW_pronun、zh-TW_radstr

Following Mihai Nita's advice, I extracted the following data. For brevity, I summarized some languages with many variants into xx-*.

These are ISO 639-1 language codes. Wikipedia also has more info on the code pages.

Windows-1250 / Latin-2 (Central European)

bs, bs-Latn, bs-Latn-BA, cs, cs-CZ, hr, hr-BA, hr-HR, hu, hu-HU, hu-HU_technl, pl, pl-PL, ro, ro-MD, ro-RO, sk, sk-SK, sl, sl-SI, sq, sq-AL, sq-MK, sq-XK, sr, sr-Latn, sr-Latn-BA, sr-Latn-ME, sr-Latn-RS, sr-Latn-XK, tk, tk-TM

Windows-1251 (Cyrillic)

az-Cyrl, az-Cyrl-AZ, ba, ba-RU, be, be-BY, bg, bg-BG, bs-Cyrl, bs-Cyrl-BA, ky, ky-KG, mk, mk-MK, mn, mn-Cyrl, mn-MN, ru, ru-BY, ru-KG, ru-KZ, ru-MD, ru-RU, ru-UA, sah, sah-RU, sr-Cyrl, sr-Cyrl-BA, sr-Cyrl-ME, sr-Cyrl-RS, sr-Cyrl-XK, tg, tg-Cyrl, tg-Cyrl-TJ, tt, tt-RU, uk, uk-UA, uz-Cyrl, uz-Cyrl-UZ

Windows-1252 / Latin-1 (Western European)

af, af-NA, af-ZA, arn, arn-CL, bin, bin-NG, br, br-FR, ca, ca-AD, ca-ES, ca-es-*, ca-FR, ca-IT, co, co-FR, cy, cy-GB, da, da-DK, da-GL, de, de-*, dsb, dsb-DE, en, en-*, es, es-*, eu, eu-ES, ff, ff-*, fi, fi-*, fil, fil-PH, fo, fo-FO, fr, fr-*, fy, fy-NL, ga, ga-IE, gd, gd-GB, gl, gl-ES, gn, gn-PY, gsw, gsw-CH, gsw-FR, gsw-LI, ha, ha-*, haw, haw-US, hsb, hsb-DE, ibb, ibb-NG, id, id-ID, ig, ig-NG, is, is-IS, it, it-CH, it-IT, it-SM, iu, iu-Latn, iu-Latn-CA, jv, jv-Java, jv-Java-ID, jv-Latn, jv-Latn-ID, kl, kl-GL, kr, kr-Latn, kr-Latn-NG, la, la-001, lb, lb-LU, moh, moh-CA, ms, ms-BN, ms-MY, ms-SG, nb, nb-NO, nb-SJ, nl, nl-*, nn, nn-NO, no, nso, nso-ZA, oc, oc-FR, pap, pap-029, pt, pt-*, quc, quc-Latn, quc-Latn-GT, quz, quz-BO, quz-EC, quz-PE, rm, rm-CH, rw, rw-RW, se, se-FI, se-NO, se-SE, sma, sma-NO, sma-SE, smj, smj-NO, smj-SE, smn, smn-FI, sms, sms-FI, sv, sv-AX, sv-FI, sv-SE, sw, sw-CD, sw-KE, sw-TZ, sw-UG, tn, tn-BW, tn-ZA, tzm, tzm-Latn, tzm-Latn-DZ, wo, wo-SN, x-IV_mathan, xh, xh-ZA, yo, yo-BJ, yo-NG, zu, zu-ZA

Windows-1253 (Greek)

el, el-CY, el-GR

Windows-1254 (Turkish)

az, az-Latn, az-Latn-AZ, tr, tr-CY, tr-TR, uz, uz-Latn, uz-Latn-UZ

Windows-1255 (Hebrew)

he, he-IL

Windows-1256 (Arabic)

ar, ar-*, fa, fa-IR, ku, ku-Arab, ku-Arab-IQ, pa-Arab, pa-Arab-PK, prs, prs-AF, sd, sd-Arab, sd-Arab-PK, tzm-Arab, tzm-Arab-MA, ug, ug-CN, ur, ur-IN, ur-PK

Windows-1257 (Baltic)

et, et-EE, lt, lt-LT, lv, lv-LV

Windows 1258 (Vietnamese)

vi, vi-VN

CP874: ISO 8859-11 (Thai)

th, th-TH

CP932: Shift JIS (Japanese)

ja, ja-JP, ja-JP_radstr

CP936: GBK (Chinese)

zh, zh-CN, zh-CN_phoneb, zh-CN_stroke, zh-Hans, zh-Hans-HK, zh-Hans-MO, zh-SG, zh-SG_phoneb, zh-SG_stroke

CP949: Unified Hangul Code (Korean)

ko, ko-KR

CP950: Big5 (Chinese)

zh-Hant, zh-HK, zh-HK_radstr, zh-MO, zh-MO_radstr, zh-MO_stroke, zh-TW, zh-TW_pronun, zh-TW_radstr

三月梨花 2024-10-02 20:16:13

您可以枚举所有区域设置(使用 EnumSystemLocales/EnumSystemLocalesEx),然后获取 ANSI 代码页(GetLocaleInfo/GetLocaleInfoEx with LOCALE_IDEFAULTANSICODEPAGE)。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文