[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-11-17 19:14:13 CET

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."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 19:15:30 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.