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

Re: Unnecessary path encoding in svnserve

From: Hiroharu Tamaru <tamaru_at_myn.rcast.u-tokyo.ac.jp>
Date: 2004-08-03 18:33:00 CEST

Hi.

At Tue, 03 Aug 2004 22:49:52 +0900 (JST), Shun-ichi GOTO wrote:

> I'm using svnserve of 1.1.0 RC1 on BSD/OS and use it from Japanese
> Windows client (svn.exe and TortoiseSVN). It works fine except treating
> japanese kanji named directory.

Just to let you know that there is at least SOME setup that
is working, in case you are looking for anything that may work...

Kanji directories are working fine on a
mod_dav_svn(1.0.6)/apache(2.0.50)/FreeBSD(4.10-stable)
server we run here. My clients are FreeBSD's and Windows
2000's (/w TortoiseSVN). A kanji dir commited by a Windows
client can be checked out as an EUC (or SJIS) encoded kanji
directory by a FreeBSD client that has LANG=ja_JP.eucJP (or
ja_JP.SJIS) set, and vice versa.

I had to make sure that apr library had iconv enabled (The
apache2 port in FreeBSD used to have iconv disabled up until
when 2.0.50 was brought in), but I'm not tweeking any LANG
or LC variables on the server side.

I didn't look into the code you mentioned, and I'm new to
subversion, so I don't really know if it is because this is
a FreeBSD server or because I use mod_dav_svn.
# Could someone clarify?

I'm interested to know the result of the LC_CHARSET
workaround proposed by Greg, so please keep me informed.

On a side note, one thing that doesn't work yet is that I
cannot use kanji directories when I have to specify URLs
(and URLs only) on the command line. An example is when I
want to checkout a part of the repository that contains a
kanji directory. I can do
  svn co http://host/repo/trunk/
and have trunk/KANJIDIR/... checked out, but cannot directly do
  svn co http://host/repo/trunk/KANJIDIR/
I get
svn: URL 'http://host/repo/trunk/KANJIDIR/' is not properly URI-encoded
I assume I have to convert KANJIDIR into utf-8 and URI
encode it manually, but that I can live with at the moment.
This is only for FreeBSD client, and TortoiseSVN seems to
handle it fine, by the way.

-- 
Hiroharu Tamaru
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 3 18:33:45 2004

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.