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
.zshrc.
//Peter
---------------------------------------------------------------------
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