On Sat, 05 Mar 2005 15:42:23 +1000, Timothy Smith
<[EMAIL PROTECTED]> wrote:
> i'm trying to setlocale() on 4.10, and it appears the python package
> doesn't support this under 4.10.
>
> Python 2.3.3 (#2, Apr 28 2004, 22:48:37)
> [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
> Type "help", "copyrigh
Timothy Smith <[EMAIL PROTECTED]> writes:
> something strange is happening, no matter what i try nothing is a
> supported locale
> and yes it's freebsd 4.10
AFAIK, the locale support in FreeBSD 4.1 is incomplete. Support for
LC_NUMERIC was only added in 4.6 - the release notes for 4.6 say:
T
Timothy Smith wrote:
something strange is happening, no matter what i try nothing is a
supported locale and yes it's freebsd 4.10
Sounds like a problem with your operating system. AFAICT, you ought
to have a directory /usr/share/locale on your disk. What is its
contents?
Regards,
Martin
--
http://
Martin v. Löwis wrote:
Timothy Smith wrote:
>>> locale.setlocale(locale.LC_NUMERIC, 'us')
the exact same thing works under windows xp.
do i have to compile it with locale support?
No. You have to choose a locale name that is supported by your
operating system (which appears to be FreeBSD). Read y
Timothy Smith wrote:
>>> locale.setlocale(locale.LC_NUMERIC, 'us')
the exact same thing works under windows xp.
do i have to compile it with locale support?
No. You have to choose a locale name that is supported by your
operating system (which appears to be FreeBSD). Read your OS
documentation for
i'm trying to setlocale() on 4.10, and it appears the python package
doesn't support this under 4.10.
Python 2.3.3 (#2, Apr 28 2004, 22:48:37)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(