MacOSX filename encoding issue
From: Martin Hauner <martin.hauner_at_gmx.net>
Date: 2006-04-22 19:40:44 CEST
Hi,
while fixing "svn: Can't convert string from native encoding to 'UTF-8':"
First thing that i have to do is set LANG so svn works at all. Without
setlocale(LC_ALL, "") doesn't seem to work on MacOSX if LANG isn't set.
First I'm using DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE
$ svn mkdir ➊
$ svn st
This is as expected, now another character, the german umlaut ö.
ö (utf16: 00F6, utf8: C3 B6)
$ svn mkdir ö
This is unexpected. It looks like that status gets a different filename
Then entries file in .svn looks good.
Looking at the output of ll -B (works only with LANG unset) shows that
drwxr-xr-x 3 hauner hauner 102 Apr 22 15:30 o\314\210
the second line is digit one and converting the numbers to hex delivers
I'm no unicode expert but i guess a 100% unicode compatible program
Now the question is (assuming my analysis is correct) if it is possible
It would be nice if there were a combining aware utf8strcmp that could
-- Martin Subcommander, http://subcommander.tigris.org a cross platform Win32/Unix/MacOSX subversion GUI client & diff/merge tool. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Apr 22 19:41:26 2006 |
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.