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

RE: Re: svn commit: rev 2592 - trunk/subversion/tests/clients/cmdline trunk/subversion/tests/clients/cmdline/svntest

From: Bill Tutt <rassilon_at_lyra.org>
Date: 2002-07-20 01:22:36 CEST

> From: Branko Cibej [mailto:brane@xbc.nu]
> > # Set our environment's locale to ISO-8859-1
> >- os.putenv('LC_ALL', 'ISO-8859-1')
> >+ locale.setlocale(locale.LC_ALL, 'en_US.ISO8859-1')
> >
>
> This is still not portable, because locale identifiers differ between
> systems. (Windows, for e.g., doesn't use POSIX-compatible locale
> identifiers). Damned if I know what to do.
>
if windows:
        locale.setlocale(locale.LC_ALL, 'English_USA.850')

aka Latin-1

Latin-2 is 852.

FYI,
Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 20 01:23:04 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.