ValueError: unknown locale: UTF-8

"Martin v. Löwis" martin at v.loewis.de
Mon Jun 2 13:43:43 EDT 2008


> Actually, yes:
> 
> LC_CTYPE=UTF-8
> 
> where is it coming from? This is basically on a clean new machine...
> who might be setting it?

There are many possible places. grep in your Library, as a starting
point. As on Macintosh lists.

> It is coming from a program elsewhere on the
> system? How should python code deal with this?

Python should do what it does: just crash. This setting is not supported.

Regards,
Martin



More information about the Python-list mailing list