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

Re: Encoding of repository hook parameters

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-12-14 17:34:03 CET

Peter Samuelson <peter@p12n.org> writes:

> [Philip Martin]
>> The first argument to all the repository hooks is the path to the
>> repository and the value has been converted from UTF-8 to the native
>> encoding of the process that invoked the hook.
>
> Wait, why are you treating a filename on the host system as anything
> other than an opaque string of bytes?

That's the way Subversion has always worked. Inside the libraries
paths are UTF-8 and they get converted to/from the native encoding
when communicating with the 'outside world'.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 14 17:43:16 2005

This is an archived mail posted to the Subversion Dev mailing list.