[Python-bugs-list] [ python-Bugs-504219 ] locale.setlocale is broken

noreply@sourceforge.net noreply@sourceforge.net
Tue, 15 Jan 2002 20:56:25 -0800


Bugs item #504219, was opened at 2002-01-15 20:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=504219&group_id=5470

Category: Windows
Group: Python 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Syver Enstad (syvere)
Assigned to: Tim Peters (tim_one)
Summary: locale.setlocale is broken

Initial Comment:
locale.setlocale doesn't recognize the the format that 
locale.py uses to set the locale, ie. no_NO and 
friends.

The only way I've succeeded in setting the locale on 
Python 2.1 is to use the format described in the 
Visual C++ C-runtime library docs for setlocale where 
a more verbose format is used to set the locale.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=504219&group_id=5470