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

Re: [l10n] Problem: RA via svnserve tunnel mode always sends back localized error messages?

From: Kobayashi Noritada <nori1_at_dolphin.c.u-tokyo.ac.jp>
Date: 2005-03-29 20:37:48 CEST

From: "Peter N. Lundblad" <peter@famlundblad.se>
Subject: Re: [l10n] Problem: RA via svnserve tunnel mode always sends back localized error messages?
Date: Tue, 29 Mar 2005 20:05:28 +0200 (CEST)

> On Wed, 30 Mar 2005, Kobayashi Noritada wrote:
>
> > I'm using Zsh and I did my previous test with $LANG set as 'ja_JP.eucJP'
> > at .zshrc.
> > So, this time I made another test:
> >
> > The result shows a curious fact (details are in the lower part of this mail):
> >
> > Via svn+ssh, $LANG is always set as 'ja_JP.EUC-JP',
> > whether svn is executed with $LANG set as 'C' or as 'ja_JP.eucJP'.
> > (Note: 'ja_JP.EUC-JP' and 'ja_JP.eucJP' are the same locale.
> > However, there is no 'ja_JP.EUC-JP' within my homedir condig files!)
> >
> > What is handling locales with my repository access via svn+ssh?
> >
> Maybe some system defaults in /etc? Try setting LC_MESSAGES=C in your
> .zshrc.

Oops! Thank you. I found /etc/environment with 'LANG=ja_JP.EUC-JP'.
So, I made /etc/environment empty and set $LC_MESSAGES as 'C' in .zshrc,
and found that the '?\nnn'-s replaced by original ASCII messages.
Also, I reverted .zshrc and found messages displayed properly (i.e. when
with LANG=C, displayed in ASCII).
Now .zshrc was found to be no wrong and the system configuration
(i.e. the default locale setting in /etc/environment) was wrong.
Sorry...

So, is this a special case or do we need to tweak svnserve so that it can
always send proper messages?

-- 
|:  Noritada KOBAYASHI
|:  Dept. of General Systems Studies,
|:  Graduate School of Arts and Sciences, Univ. of Tokyo
|:  E-mail: nori1@dolphin.c.u-tokyo.ac.jp (preferable)
|:          nori@esa.c.u-tokyo.ac.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 29 20:39:59 2005

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.