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

Re: [Error conversion UTF-8]

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 7 Apr 2009 23:15:19 -0500

On Apr 7, 2009, at 11:21, Paul Koning wrote:

> Another possible problem, which I've run into on the Mac, is that some
> characters can be encoded in more than one way in UTF-8. And the Mac
> filesystem converts them all to a single preferred encoding. So if
> you read back a filename, it may not match what you originally
> supplied.
>
> The solution to this is to normalize all Unicode strings. If you ever
> need to compare strings, you have to normalize first; if you don't
> then it will not work. I'm pretty sure Subversion didn't do this; I
> don't know if it does now.

Yes, that bug remains:

http://subversion.tigris.org/issues/show_bug.cgi?id=2464

A workaround for this problem is available in the +unicode_path
variant if you install Subversion using MacPorts.

But it is not what is occurring for the OP in this thread, whose
error message was:

> svn: Safe data 'Index: Re' was followed by non-ASCII byte 195:
> unable to convert to/from UTF-8

You will not see that error message if the string is valid UTF-8.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1589462

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 06:16:16 CEST

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.