[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: Wed, 26 Mar 2008 10:58:29 +0100

> >> 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.
>
> Works fine on a Mac. So, get a Mac to serve your repositories.
>
> I used "svnadmin create foo" and then in the Finder I renamed "foo"
> to "æ ø å" (since I don't know how to type non-ASCII characters in
> the Terminal). Viewed in Firefox, I see:
>
> Collection of Repositories
>
> * æ ø å/
>
> Clicking this gives me:
>
> http://www.example.com/svn/%c3%a6%20%c3%b8%20a%cc%8a/
>
> And I get:
>
> Revision 0: /
>
> Powered by Subversion version 1.4.6 (r28521).
>
> No problem.

Well, my answer actually didn't apply to Mac and Windows: they both
define their filesystem interface to be Unicode (in whatever form).
Though I'm actually surprised to see it work with your Mac (because of
a bug in APR): which APR version do you have there?

Bye,

Erik.
Received on 2008-03-26 10:58:51 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.