[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: what am I doing wrong?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-07-17 21:30:03 CEST

Ben Collins-Sussman wrote:

>Look at this code fragment from utf8_tests.py:
>i18n_filename = "b";
>def basic_utf8_conversion(sbox):
> "conversion of paths and logs to/from utf8"
> if sbox.build():
> return 1
> wc_dir = sbox.wc_dir
> # Set our environment's locale to ISO-8859-1
> os.putenv('LC_ALL', 'ISO-8859-1')
"ISO-8859-1" is not a locale descriptor. You'd want something like
"en_US.ISO8859-1", if your system supports it. A test like this is going
to be very tricky, and unportable.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 17 21:30:34 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.