classification
Title: locale.getdefaultencoding: LANGUAGE not correctly parsed
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: doko
Priority: normal Keywords: patch

Created on 2005-03-20 12:57 by doko, last changed 2005-09-20 07:05 by doko. This issue is now closed.

Files
File name Uploaded Description Edit
locale1.diff doko, 2005-03-20 12:57
Messages (2)
msg48008 - (view) Author: Matthias Klose (doko) (Python committer) Date: 2005-03-20 12:57
According to gettext(3), "LANGUAGE is assumed to
contain a colon separated list of  locale  names.". Fix
it by taking the string up to the first colon as
localename.
msg48009 - (view) Author: Matthias Klose (doko) (Python committer) Date: 2005-09-20 07:05
Logged In: YES 
user_id=60903

checked in as
  Lib/locale.py: 1.32 (HEAD)
  Lib/locale.py: 1.28.4.2 (2.4 branch)

History
Date User Action Args
2005-03-20 12:57:10dokocreate