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

Re: svnlook fails as subprocess, but succeeds when run directly?

From: <brane_at_xbc.nu>
Date: 2002-07-26 13:24:13 CEST

Quoting Karl Fogel <kfogel@newton.ch.collab.net>:

> So can anyone think of a reason why svnlook would be able to do
> charset transcoding when run by hand from the command line, but not
> when invoked by a script (which itself was invoked by Subversion)?

Maybe because we don't call the hooks with APR_PROGRAM_ENV, so they don't get
the real LC_CTYPE, and the default one is "C", so that the setlocale(LC_CTYPE,
"") call in svnlook/main.c is actually a no-op?

Just guessing ...

    Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 13:24:57 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.