(svn r3994) - Fix: convert filenames to UTF-8-MAC instead of UTF-8 for MACOSX, because that's what it uses. This is no real fix for the current iconv hack but it should at least work properly
authorDarkvater
Tue, 21 Mar 2006 09:14:41 +0000
changeset 3280 524352fbb229
parent 3279 7c642c5c501c
child 3281 0f3d836e35b1
(svn r3994) - Fix: convert filenames to UTF-8-MAC instead of UTF-8 for MACOSX, because that's what it uses. This is no real fix for the current iconv hack but it should at least work properly
unix.c
--- a/unix.c	Mon Mar 20 16:43:48 2006 +0000
+++ b/unix.c	Tue Mar 21 09:14:41 2006 +0000
@@ -631,7 +631,7 @@
 	outbuf = strrchr(statout, '/');
 	if(alreadyInited == false)
 	{
-		convd = iconv_open("UTF-8", "ISO-8859-15");
+		convd = iconv_open("UTF-8-MAC", "ISO-8859-15");
 		if(convd == (iconv_t)(-1))
 			return filename;
 		alreadyInited = true;