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

Stefan Sperling stsp at elego.de
Thu Feb 2 14:04:26 CST 2012


On Thu, Feb 02, 2012 at 10:01:23PM +0200, Daniel Shahaf wrote:
> Actually I was referring to the former: if admins may want to change
> their hooks for UTF-8 support, then people who write generic hooks will
> want to have an if() in their code.

What for?

> > The easiest thing we could so is to set LC_CTYPE to en_US.UTF-8
> > in the hook's environment if SVNUseUTF-8 is enabled. This allows
> > tools like svnlook to procress UTF-8 when invoked from the hook.
> 
> Locale names aren't too portable, are they?
> 
> What guarantees that an English locale is installed?

Hmmm... you're right. These names aren't standardized at all.
Bummer. We'd have to let users pass a locale name via a config option...




More information about the svnbook-dev mailing list