homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: locale: 'utf' is not a known encoding
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: doko, georg.brandl
Priority: normal Keywords: patch

Created on 2005年03月20日 13:32 by doko, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
locale3.diff doko, 2005年03月20日 13:32
Messages (3)
msg48013 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2005年03月20日 13:32
checked with glibc-2.3.2 on a Debian/sarge system. The
locale_alias and the encoding_alias tables map the
encoding from utf-8, utf8 to utf, which is not a valid
encoding, at least on this system.
LANG=de_DE.utf-8 python -c 'import locale;
locale.resetlocale()'
Traceback (most recent call last):
 File "<string>", line 1, in ?
 File "/usr/lib/python2.3/locale.py", line 391, in
resetlocale
 _setlocale(category,
_build_localename(getdefaultlocale()))
locale.Error: unsupported locale setting
msg48014 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005年06月01日 17:04
Logged In: YES 
user_id=1188172
This file is one big patch for #1166938, #1166948 and #1166957.
msg48015 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2005年09月20日 07:07
Logged In: YES 
user_id=60903
already fixed on HEAD, rejected for the branch
History
Date User Action Args
2022年04月11日 14:56:10adminsetgithub: 41727
2005年03月20日 13:32:45dokocreate

AltStyle によって変換されたページ (->オリジナル) /