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

Encoding of repository hook parameters

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

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. Hooks are invoked with
an empty environment which means that the hook has no easy way to
determine the encoding used for the repository path parameter. Thus
to use non-ascii repository paths the encoding must be hard-coded in
the hook script and there is no way to ensure that it will be correct.

Should we be passing the encoding, via the environment or a parameter,
to the hooks?

-- 
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 15:16:05 2005

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