ValueError: unknown locale: UTF-8

mr mario.ruggier at
Mon Jun 2 14:18:50 CEST 2008

On Jun 1, 8:43 pm, "Martin v. Löwis" <mar... at> wrote:
> > ValueError: unknown locale: UTF-8
> > This is on open bug or is there more to it?
> Do you have an environment variable set who is named
> either LANG or starts with LC_?

Actually, yes:


where is it coming from? This is basically on a clean new machine...
who might be setting it? It is coming from a program elsewhere on the
system? How should python code deal with this?

Thanks! mario

More information about the Python-list mailing list