[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: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-29 20:05:28 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:
> * Remove $LANG settings from .zshrc.
> * Print locale settings at not_found in subversion/libsvn_fs_fs/tree.c
> and main at subversion/svnserve/main.c.
> Code are such like this:
> fputs("In svnserve/main.c/main, ", stderr);
> getenv("LC_ALL")
> ? fprintf(stderr, "$LC_ALL=%s\n", getenv("LC_ALL"))
> : getenv("LANG")
> ? fprintf(stderr, "$LANG=%s\n", getenv("LANG"))
> : fprintf(stderr, "$LANG=%s\n", "locale?");
> * (Refactor my test script.)
> 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


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:01:58 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.