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

Re: Encoding of .subversion config files?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-03-08 21:20:15 CET

On 3/8/06, Philip Martin <philip@codematters.co.uk> wrote:
> Philip Martin <philip@codematters.co.uk> writes:
>
> > Do we have or need a policy for the encoding of the config files in
> > .subversion? At present it appears that the global-ignores value
> > needs to be in UTF-8 while the diff-cmd value needs to be in the
> > native encoding.
>
> I've been investigating the existing behaviour a bit more. The first
> thing is that httpd doesn't make a setlocale() call so on my Linux box
> that restricts Subversion to native/UTF-8 conversions that are trivial
> (ASCII only). This doesn't matter for things like paths within the
> Subversion filesystem since they never get converted to native, but a
> few corner cases like repository paths passed to hook scripts are
> affected -- such paths can only be ASCII. The svnserve server does do
> make a setlocale call so it can do native/UTF-8 conversions, i.e. it
> can pass non-ASCII repository names to hook scripts.

httpd doesn't make a setlocale() call anywhere, by design, see issue #2487.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 8 21:20:50 2006

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.