[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: Peter Samuelson <peter_at_p12n.org>
Date: 2005-12-15 09:45:23 CET

[André Malo]
> Nope. If the hook script wants to use the subversion libraries
> (e.g. via bindings) to inspect the repository, it needs the path as
> UTF-8.

I see. It still bothers me that 'svnadmin' and 'svnlook' will fail if
they can't convert a filename to UTF-8 and back, whereas basically all
Unix utilities, like 'cp' and 'mkdir', somehow manage not to care. But
assuming that the libraries *aren't* going to change in this way, it's
certainly easier to export the current locale to hook scripts than to,
e.g., manufacture a trivial 'identity' locale mapped to Unicode
codepoints 0-255, for use when you don't have a locale but need one
strictly for red tape round-trip conversions.

Received on Thu Dec 15 09:48:06 2005

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