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

Re: Call For Votes: converting log messages to UTF-8

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-06-04 22:56:08 CEST

Greg Stein wrote:

>On Tue, Jun 04, 2002 at 10:07:22AM -0500, Ben Collins-Sussman wrote:
>
>
>>...
>>Or, as kfogel proposed earlier, I think a good client application
>>should allow the user to specify a temporary locale for the log
>>message. Something like
>>
>> svn commit -m "log message" --locale=some.locale
>>
>>
>
>Nope. We don't have to do anything. The user can always do:
>
>$ LC_CTYPE=some.locale svn commit -m "log message"
>
>That sets the LC_TYPE environment variable for just the one execution of the
>'svn' program.
>
>
Please, let's just for once hear some design discussion that doesn't
assume all the world is Unix. What you propose only works in Bourne-like
shells (even the csh incantation is different).

We already have a --locale option. It was introduced so that front-ends
that wrap the command line client (and there will be such; Emacs vc-mode
comes to mind) will get predictable output in the presence of localized
messages. We might as well reuse that, or introduce a similar option
(--input-locale?) for log messages, file names, prop names, etc. I'd
support that, FWIW.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 4 22:56:32 2002

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

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