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

UTF-8 support on Mac?

From: B. Blodau <b_blodau_at_hamburg.de>
Date: Tue, 5 Feb 2008 17:59:25 +0100

Hello out there,
I'm encountering a problem when calling svn_client_commit3() on the Mac.

The name of the file to be committed contains a non-ASCII character,
in this case an 'ä' (a-umlaut). This is perfectly encoded to UTF-8
but not as a precomposed character (0xc3, 0xa4) but as a normalized
character consisting of the base character 'a' plus a following
combining character '¨' (COMBINING DIAERESIS).
So the UTF-8 byte sequence is: 0x61, 0xcc, 0x88.

When calling svn_client_commit3(), I'm getting the error message:
"Can't convert string from 'UTF-8' to native encoding." from
"subversion/libsvn_subr/utf.c".

I'm a bit irritated because the documentation for svn_client_commit3
() says:
"targets is an array of const char* paths to commit. They need not be
canonicalized nor condensed; this function will take care of that."

Does svn support non-ASCII characters on the Mac?
Does svn support non-ASCII characters in their normalized form on the
Mac?
Can I do anything to get this working? ;)

Since other clients can handle such an umlaut, it might be that svn
expects precomposed characters?

Thanks to everybody who can help.
Ciao
Bert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-05 17:59: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.