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

Re: Check out repository with encoded characters

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Tue, 25 Mar 2008 13:39:49 +0100

On 3/25/08, Victor Engmark <victor.engmark_at_gmail.com> wrote:
> On Fri, Mar 21, 2008 at 7:56 AM, Ryan Schmidt
> <subversion-2008a_at_ryandesign.com> wrote:
> > On Mar 21, 2008, at 01:54, Victor Engmark wrote:
> > > On Fri, Mar 21, 2008 at 1:10 AM, Ryan Schmidt wrote:
> > >> On Mar 20, 2008, at 09:33, Victor Engmark wrote:
> > >>> How would you check out a repository created with the command
> > >>> $ svnadmin create "æ ø å"
> > >>> via HTTP(S)?
> > >>>
> > >>> I've tried the following:
> > >>> $ svn co "https://example.org/svn/%c3%a6 ø å"
> > >>> svn: PROPFIND request failed on '/svn/%C3%A6%20%C3%B8%20%C3%A5'
> > >>> svn: Could not open the requested SVN filesystem
> > >>>
> > >>> This works fine for other repositories:
> > >>> $ svnadmin create "a b c"
> > >>> $ svn co "https://example.org/svn/a b c"
> > >>> Checked out revision 0.
> > >>>
> > >>> My shell uses UTF-8 encoding:
> > >>> $ set | grep LANG
> > >>> GDM_LANG=en_US.UTF-8
> > >>> LANG=en_US.UTF-8
> > >>
> > >> If this is a set of repositories served using SVNParentPath, then
> > >> browse to https://example.org/svn in a web browser and copy the link
> > >> to the æ ø å repository.
> > >
> > > I don't have a web interface to the server (I get a "403: Forbidden"
> > > message at https://example.org/svn).
> >
> > Add "SVNListParentPath on" to your Apache configuration.
>
> Did that, and got the following error message on the web page:
> <?xml version="1.0" encoding="utf-8"?>
> <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
> <C:error/>
> <m:human-readable errcode="22">
> Can't convert string from native encoding to 'UTF-8':
> </m:human-readable>
> </D:error>

That's correct. I'm not aware of a way to make Apache locale aware.
Unfortunately, that's what's required for Subversion to work with
non-ascii paths to a repository.

HTH,

Erik.
Received on 2008-03-25 13:40:12 CET

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.