Trouble sorting lists (unicode/locale related?)

John J. Lee jjl at pobox.com
Sun Sep 21 16:54:29 EDT 2003


Jeff Epler <jepler at unpythonic.net> writes:
> On Sun, Sep 21, 2003 at 02:10:16PM +0200, Peter Otten wrote:
[...]
> > locale.setlocale(locale.LC_ALL, ("no", None))
[...]
> If this did work, then you can use the DSU pattern like so:
[...]

The advantage of which is that you don't have to mess with the locale.


John




More information about the Python-list mailing list