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

Re: Problems with accents in filenames

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-11-17 20:24:15 CET

C. Michael Pilato wrote:
> Julian Foad <julianfoad@btopenworld.com> writes:
>
>>Ben Collins-Sussman wrote:
>>
>>>The repository stores all filenames as UTF8. When you do an 'svn
>>>checkout', the filenames are converted from UTF8 to whatever locale your
>>>local system happens to be using. Apparently, your Macintosh is using a
>>>locale that can't deal with accents. The only bug here is that the
>>>error message was unclear. We really need
>>>to fix that. As others have mentioned, it should say something like
>>>"failure decoding UTF8 path... try setting your locale differently."
>>>Run 'man locale'.
>>
>>Or, better, the error message should specify what character had no
>>translation (in hex, for instance), and also show a "best try"
>>("fuzzy") translation, so that the user has a fair chance of
>>deciding on an appropriate locale.
>
> IIRC, that information isn't readily available because we throw whole
> chunk of data at iconv(), and it only sez "Something somewhere in this
> big ol' chunk didn't pan out."

It's a pity if it's not readily available, but we could quite easily find out (e.g. binary-chop search) if we think it is useful to do so.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 20:22:34 2003

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

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