1
0
Fork 0

(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

release/0.5
Darkvater 2006-03-21 09:14:41 +00:00
parent fc32e20195
commit 1fa389ea2c
1 changed files with 1 additions and 1 deletions

2
unix.c
View File

@ -631,7 +631,7 @@ const char *convert_to_fs_charset(const char *filename)
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;