diff --git a/Lib/locale.py b/Lib/locale.py index d8c09f1123d318..6dbf6c42907164 100644 --- a/Lib/locale.py +++ b/Lib/locale.py @@ -1568,7 +1568,7 @@ def getpreferredencoding(do_setlocale=True): 0x0411: "ja_JP", # Japanese 0x044b: "kn_IN", # Kannada - India 0x043f: "kk_KZ", # Kazakh - 0x0453: "kh_KH", # Khmer - Cambodia + 0x0453: "km_KH", # Khmer - Cambodia 0x0486: "qut_GT",# K'iche - Guatemala 0x0487: "rw_RW", # Kinyarwanda - Rwanda 0x0457: "kok_IN",# Konkani diff --git a/Misc/NEWS.d/next/Windows/2024-09-09-15-34-09.gh-issue-123853.WTnzNs.rst b/Misc/NEWS.d/next/Windows/2024-09-09-15-34-09.gh-issue-123853.WTnzNs.rst new file mode 100644 index 00000000000000..5ca6b532235679 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2024-09-09-15-34-09.gh-issue-123853.WTnzNs.rst @@ -0,0 +1,2 @@ +I updated the :mod:`locale` module, Switching the cambodian +language label from ``kh_KH`` to ``km_KH``