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

Re: svn commit: r13215 - trunk/subversion/tests/clients/cmdline

From: Ben Reser <ben_at_reser.org>
Date: 2005-03-01 21:42:14 CET

On Tue, Mar 01, 2005 at 07:24:27PM +0000, Philip Martin wrote:
> Ben Reser <ben@reser.org> writes:
>
> > After r13217 you shouldn't be seeing this anymore
>
> Correct.
>
> > but the test will still be being skipped on your machine,
>
> That depends on whether or not I use an 8859-1 locale:
>
> $ LANG=C ./utf8_tests.py list | tail -1
> 1 SKIP conversion of paths and logs to/from utf8

I only meant in this case.

> $ LANG=en_GB ./utf8_tests.py list | tail -1
> 1 conversion of paths and logs to/from utf8
> $ LANG=en_GB.UTF-8 ./utf8_tests.py list | tail -1
> 1 SKIP conversion of paths and logs to/from utf8

Yup.

> > try this patch to see if this fixes it on your machine:
> >
> > Index: utf8_tests.py
> > ===================================================================
> > --- utf8_tests.py (revision 13217)
> > +++ utf8_tests.py (working copy)
> > @@ -98,7 +98,7 @@
> > # -- Branko ÄŒibej
> > # <brane@xbc.nu>
> > locale.setlocale(locale.LC_ALL, '.1252')
> > else:
> > - locale.setlocale(locale.LC_ALL, 'en_US.ISO8859-1')
> > + locale.setlocale(locale.LC_ALL, 'ISO8859-1')
> > except:
> > pass
>
> That makes no difference.

Guess you can't count on a generic ISO8859-1 locale to exist.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 1 21:43:30 2005

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.