You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Wesley J. Landaker" <wj...@icecavern.net> on 2005/06/10 00:01:25 UTC

BUG(?): clients fails if locale is not available

Hi subversion devs,

I'm a Debian developer who is helping out with the subversion packages. This 
bug was reported some time ago, but I'm not sure if it's really a bug 
(maybe this is the intended behavior). 

On Tue, 7 Dec 2004, Bastian Blank <wa...@debian.org> wrote:
> The subversion clients fails if the locale is not available.
> 
> | $ LANG=ofb svn -h   
> | svn: error: cannot set LC_ALL locale
> | svn: error: environment variable LANG is ofb
> | svn: error: please check that your locale name is correct

It seems feasible to expect that if the locale was set incorrectly or 
unavailable that subversion would fall back to the equivalent LANG=C or 
something.

What do you all think?

(If possible, please keep the 284619-forwarded@bugs.debian.org address as a 
CC if you reply, so that your response will be archived in the Debian BTS.)

-- 
Wesley J. Landaker <wj...@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Re: BUG(?): clients fails if locale is not available

Posted by "Wesley J. Landaker" <wj...@icecavern.net>.
On Friday 10 June 2005 01:35, Marcus Rueckert wrote:
> > It seems feasible to expect that if the locale was set incorrectly or
> > unavailable that subversion would fall back to the equivalent LANG=C or
> > something
>
> i dont think svn should be this lazy here. An incorrectly set locale
> would lead to "Cannot recode string" later during the charset conversion
> of filenames from/to utf8.
>
> so setting up a correct locale should be really enforced.

Okay, I thought sometime like that might be the case, but I wasn't 100% 
sure. Looks like this is intended behavior. 

Thanks for the confirmation. =)

-- 
Wesley J. Landaker <wj...@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Re: BUG(?): clients fails if locale is not available

Posted by Marcus Rueckert <da...@web.de>.
On 2005-06-09 18:01:25 -0600, Wesley J. Landaker wrote:
> I'm a Debian developer who is helping out with the subversion packages. This 
> bug was reported some time ago, but I'm not sure if it's really a bug 
> (maybe this is the intended behavior). 
> 
> On Tue, 7 Dec 2004, Bastian Blank <wa...@debian.org> wrote:
> > The subversion clients fails if the locale is not available.
> > 
> > | $ LANG=ofb svn -h   
> > | svn: error: cannot set LC_ALL locale
> > | svn: error: environment variable LANG is ofb
> > | svn: error: please check that your locale name is correct
> 
> It seems feasible to expect that if the locale was set incorrectly or 
> unavailable that subversion would fall back to the equivalent LANG=C or 
> something

i dont think svn should be this lazy here. An incorrectly set locale
would lead to "Cannot recode string" later during the charset conversion
of filenames from/to utf8.

so setting up a correct locale should be really enforced.

darix

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org