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

help me about other language problem

From: 张建春 <newhuns_at_163.com>
Date: 2003-11-25 11:00:21 CET

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.
Received on Tue Nov 25 18:49:02 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.