Serhiy Storchaka added the comment:

What is your OS?

On Ubuntu:
>>> import locale, time
>>> locale.setlocale(locale.LC_ALL, 'ko_KR.UTF-8')
'ko_KR.UTF-8'
>>> time.strftime('%a')
'화'
>>> locale.setlocale(locale.LC_ALL, 'ko_KR.eucKR')
'ko_KR.eucKR'
>>> time.strftime('%a')
'화'
>>> locale.setlocale(locale.LC_ALL, 'ko_KR')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/serhiy/py/cpython/Lib/locale.py", line 595, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
>>> locale.setlocale(locale.LC_ALL, 'ko')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/serhiy/py/cpython/Lib/locale.py", line 595, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

----------
components: +Library (Lib)
nosy: +lemburg, loewis, serhiy.storchaka
type: crash -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25023>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to