You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ������ <ne...@163.com> on 2003/11/25 10:00:21 UTC
help me about other language problem
Who can tell me how to send a chinese URL to Repository?
example:
svn ls --verbose file:///d:/myRepos/中文.txt
error return:URL 'file:///d:/myRepos/中文.txt'is not properly URI-encoded
What can I do,to change the subversion source code implement performance operate on a Repository.The operation is use a chinese file name,If it operate on client is success,but I want to operate the repository.
Can I deal with file of opt.c?
/* URLs and wc-paths get treated differently. */
if (svn_path_is_url (utf8_target))
{
/* No need to canonicalize a URL's case or path separators. */
if (! svn_path_is_uri_safe (utf8_target))
return svn_error_createf (SVN_ERR_BAD_URL, 0,
"URL '%s' is not properly URI-encoded",
utf8_target);
/* strip any trailing '/' */
target = svn_path_canonicalize (utf8_target, pool);
}
Thank you for your help.
Re: help me about other language problem
Posted by kf...@collab.net.
newhuns@163.com writes:
> Who can tell me how to send a chinese URL to Repository?
> example:
> svn ls --verbose file:///d:/myRepos/中文.txt
> error return:URL 'file:///d:/myRepos/中文.txt'is not properly URI-encoded
Theoretically, express it as UTF-8 and then do a URI-encoding of that.
I haven't tested this, however.
Good luck,
- 傅 凯
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org