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

Reply via email to