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

Unnecessary path encoding in svnserve

From: Shun-ichi GOTO <gotoh_at_taiyo.co.jp>
Date: 2004-08-03 15:49:52 CEST

Hi,

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.

When failed, we (client) get strange error message:

> [c:\temp\test]svn ci -m "" .
> svn: Commit failed (details follow):
> svn: Can't recode string

I inspected svnserve source code and found the fail point in
serve.c::find_repos(). It encodes requested repository path (utf-8) into
local encoding (apr-encoding) only for using apr_filepath_merge(). So it
limits directory name in repository with server side charset.

Is it intended?

For example, on our environment (BSD/OS 4.0.1), apr_os_locale_charset()
returns "iso-8859-1", thus it cannot handle japanese characters for
directory name.

--- Regards,
 Shun-ichi Goto <gotoh@taiyo.co.jp>
   R&D Group, TAIYO Corp., Tokyo, JAPAN

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 3 15:50:15 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.