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 19:39:20 CEST
Hi,
From: "Peter N. Lundblad" <peter@famlundblad.se>
> > I get funny error messages when using svnserve tunnel mode with LANG=C
I see... Thanks for explanation.
> > This strange behaviour occurs in both /branches/1.1.x and current /trunk.
I'm using Zsh and I did my previous test with $LANG set as 'ja_JP.eucJP'
* Remove $LANG settings from .zshrc.
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',
What is handling locales with my repository access via svn+ssh?
For the record, my environments are:
* OS: Debian GNU/Linux 3.0r4
> See also recent commits by eh regarding locale stuff in svnserve.
OK, I'll check notes/l10n-problems.
-- [test script] #!/bin/sh repos_path=$HOME/tests/svnssh/repos repos_uri_file=file://$repos_path repos_uri_svnssh=svn+ssh://127.0.0.1$repos_path wc_path_file=$HOME/tests/svnssh/wc_file wc_path_svnssh=$HOME/tests/svnssh/wc_svnssh obj1=$wc_path_file/obj1 obj2=$wc_path_file/obj2 obj2_svnssh=$wc_path_svnssh/obj2 svnadmin=./subversion/svnadmin/svnadmin svn=./subversion/clients/cmdline/svn $svnadmin create $repos_path $svn co -q $repos_uri_file $wc_path_file touch $obj1 $svn add -q $obj1 $svn ci -q -m "Add obj1." $obj1 # r1 $svn move -q $obj1 $obj2 $svn ci -q -m "Rename obj1 to obj2." $obj2 # r2 $svn co -q $repos_uri_svnssh $wc_path_svnssh echo @ LANG=ja_JP.eucJP, via file LANG=ja_JP.eucJP $svn log -q -r1 $obj2 # OK. echo @ LANG=C, via file LANG=C $svn log -r1 $obj2 # OK. echo @ LANG=ja_JP.eucJP, via svn+ssh LANG=ja_JP.eucJP $svn log -q -r1 $obj2_svnssh # OK. echo @ LANG=C, via svn+ssh LANG=C $svn log -r1 $obj2_svnssh # '?\nnn'-s!! rm -rf $repos_path $wc_path_file $wc_path_svnssh [result] nori1[2:15]% ./svnsshtest.sh saba:~/svnwc/subversion-head In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=ja_JP.eucJP nori1@127.0.0.1's password: In svnserve/main.c/main, $LANG=ja_JP.EUC-JP nori1@127.0.0.1's password: In svnserve/main.c/main, $LANG=ja_JP.EUC-JP nori1@127.0.0.1's password: In svnserve/main.c/main, $LANG=ja_JP.EUC-JP @ LANG=ja_JP.eucJP, via file In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=ja_JP.eucJP In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=ja_JP.eucJP svn: ファイルが見つかりません: リビジョン 1, パス '/obj2' @ LANG=C, via file In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=C In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=C svn: File not found: revision 1, path '/obj2' @ LANG=ja_JP.eucJP, via svn+ssh nori1@127.0.0.1's password: In svnserve/main.c/main, $LANG=ja_JP.EUC-JP In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=ja_JP.EUC-JP In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=ja_JP.EUC-JP svn: ファイルが見つかりません: リビジョン 1, パス '/obj2' @ LANG=C, via svn+ssh nori1@127.0.0.1's password: In svnserve/main.c/main, $LANG=ja_JP.EUC-JP In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=ja_JP.EUC-JP In subversion/libsvn_fs_fs/tree.c/not_found, $LANG=ja_JP.EUC-JP svn: ?\227?\131?\149?\227?\130?\161?\227?\130?\164?\227?\131?\171?\227?\129?\140?\232?\166?\139?\227?\129?\164?\227?\129?\139?\227?\130?\138?\227?\129?\190?\227?\129?\155?\227?\130?\147: ?\227?\131?\170?\227?\131?\147?\227?\130?\184?\227?\131?\167?\227?\131?\179 1, ?\227?\131?\145?\227?\130?\185 '/obj2' Thanks, -- |: 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.orgReceived on Tue Mar 29 19:40:45 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.