[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: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Wed, 26 Mar 2008 02:25:11 -0500

On Mar 25, 2008, at 07:39, Erik Huelsmann wrote:
> On 3/25/08, Victor Engmark wrote:
>> On Fri, Mar 21, 2008 at 7:56 AM, Ryan Schmidt 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/%e6 ø å"
>>>>>> 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.

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-26 08:26:07 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.