diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-21 09:14:41 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-21 09:14:41 +0000 |
commit | 1fa389ea2cbc4d17c62c6efdf2ad4fe4fcdc0afd (patch) | |
tree | 5d3b31ac921f468c7b1d91e996d6650dfbb74e50 | |
parent | fc32e2019561f398c193f6e510e8482797303021 (diff) | |
download | openttd-1fa389ea2cbc4d17c62c6efdf2ad4fe4fcdc0afd.tar.xz |
(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
-rw-r--r-- | unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |