[Patches] [ python-Patches-1166957 ] locale: 'utf' is not a known encoding

SourceForge.net noreply at sourceforge.net
Wed Jun 1 19:04:56 CEST 2005


Patches item #1166957, was opened at 2005-03-20 14:32
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1166957&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Klose (doko)
Assigned to: Nobody/Anonymous (nobody)
Summary: locale: 'utf' is not a known encoding

Initial Comment:
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


----------------------------------------------------------------------

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-06-01 19:04

Message:
Logged In: YES 
user_id=1188172

This file is one big patch for #1166938, #1166948 and #1166957.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1166957&group_id=5470


More information about the Patches mailing list