[Bug 242257] i18n: locale km_KH (Khmer / Cambodia) is not supported
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 26 21:42:50 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242257
Bug ID: 242257
Summary: i18n: locale km_KH (Khmer / Cambodia) is not supported
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: standards
Assignee: standards at FreeBSD.org
Reporter: thierry at FreeBSD.org
With Python 3.6, I noticed that
locale.setlocale(locale.LC_CTYPE, 'km_KH.UTF-8')
produces an error.
Just type:
$ python3.6
>>> import locale
>>> locale.setlocale(locale.LC_CTYPE, 'km_KH.UTF-8')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/locale.py", line 598, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
And if you type:
LC_ALL=km_KH.UTF-8 locale
you can notice that everything is set to "C":
$ LC_ALL=km_KH.UTF-8 locale
LANG=fr_FR.UTF-8
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=km_KH.UTF-8
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-standards
mailing list