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

Re: svnserve translating error messages

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2004-11-07 00:08:15 CET

Peter N. Lundblad wrote:

>After nori's latest patch about svnserve -h not recoding from UTF-8, I've
>realized (and verified) that svnserve actually translates its error
>messages that gets sent to the client. This is because svnserve, like the
>client cmdline apps, use svn_cmdline_init, which initializes the locale
>stuff. I'm pretty sure this isn't intentional. Also, I think there was
>consensus about not translating messages from the server (yet).
>So, I and dionisos discussed this on irc and aggreed that it is a
>regression. (I don't know if the protocol functions use some C library
>routines that could be affected by locale settings other than LC_MESSAGES.
>IN that case the situation could be even worse.)
>I think the solution is to just setlocale(LC_ALL, "C") before the server
>starts waiting for client connections. This allows the help and version
>output to be localized, which is nice. I think we should do this for the
>next 1.1.x release.
Sounds like a reasonable solution. +1 if it works.

-- Brane

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 7 00:08:13 2004

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.