[darcs-devel] darcs patch: bugfix, don't skip rest of char escape t... (and 12 more)

Tommy Pettersson ptp at lysator.liu.se
Mon Apr 18 05:32:42 PDT 2005


On Sun, Apr 17, 2005 at 06:17:00PM +0200, Tomasz Zielonka wrote:
> On Sun, Apr 17, 2005 at 05:20:49PM +0200, Tomasz Zielonka wrote:
> > > +# make sure the locale is c
> > > +
> > > +$ENV{LANG} = "c";
> > 
> > Hmmm, this is strange, but there is still some locale trouble. 8 of 16
> > tests fail if I run this test on system which has LANG=en_US.UTF-8
> > 
> > I placed `locale > /tmp/locale`; after this %ENV setting to check that
> > it is indeed passed to the subshell. Perhaps this has something to do
> > with perl locale setting. I am looking at this right now, but I thought
> > someone can come up with a solution faster.
> 
> OK, I've nailed it. Perl was writing files in utf8. I'll send the fix in
> a minute.

Strange.  I could run the whole test with both
LANG=sv_SE.ISO-8859-1 and LANG=sv_SE.UTF-8.
I have perl v5.8.4.

Thanks!


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-devel mailing list