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

Re: [PATCH] Add description for SVNUseUTF8 (issue #2487)

From: Branko Čibej <brane_at_apache.org>
Date: Thu, 02 Feb 2012 22:26:58 +0100

On 02.02.2012 21:46, Daniel Shahaf wrote:
> Stefan Sperling wrote on Thu, Feb 02, 2012 at 21:37:53 +0100:
>> But what do authors gain? Apart from assurance that they may write
>> UTF-8 characters in error messages I don't see any advantage.
> If repos_path, or an fspath argument, isn't ASCII, can hook scripts
> access/use it even if the envvar isn't set? (Or svnlook, when called
> from such a hook script --- which I think you mentioned earlier.)

Yes. File names are just a string of bytes. As long as the script takes
care to always quote the arguments ("$foo" instead of just $foo), and
not interpret them, then what it passes to other tools will be what it
gets from the server. That's either exactly correct, or totally wrong
already.

-- Brane
Received on 2012-02-02 22:27:36 CET

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