> 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
On Jun 1, 8:43 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> 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:
LC_CTYPE=UTF-8
where is it coming from
> 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_?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Mario Ruggier <[EMAIL PROTECTED]> writes:
> On OS X 10.5.2 :
>
> $ python
> Python 2.5.1 (r251:54863, Feb 4 2008, 21:48:13)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
import locale
locale.getdefaultlocale()
>