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

Re: "Can't recode string" again...

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-06 20:58:22 CET

On Jan 6, 2006, at 20:40, Paul Koning wrote:

> ... with one exception, of course: if you run any client type apps at
> the server (in hook scripts) then those naturally would depend on some
> locale. That's actually somewhat ugly. Ideally the hook script would
> inherit the locale setting of the client whose request triggers the
> hook. Enhancement?

Why is that ideal? If I have some people committing files with
ISO-8859-1 locales and others committing with UTF-8 locales and
everything gets to the repository correctly, then in my hook script I
want to send an email, and I definitely need to know when programming
the hook what charset information to put in the email headers (and
it's gonna be UTF-8). So I definitely want my svn client commands to
always behave with the same locale in my hook scripts. Not whatever
locale the committer might have used.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 6 21:01:54 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.