From a7930de654e457c71616bc6412aea4ff9d3950fc Mon Sep 17 00:00:00 2001 From: thepyper Date: Wed, 4 Apr 2018 13:16:25 +0000 Subject: [PATCH] Internat.c: fix iconv() with musl by removing unrecognized EUCJP encoding --- src/Mayaqua/Internat.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Mayaqua/Internat.c b/src/Mayaqua/Internat.c index a32591ac..cab098f2 100644 --- a/src/Mayaqua/Internat.c +++ b/src/Mayaqua/Internat.c @@ -935,11 +935,7 @@ void InitInternational() d = IconvWideToStrInternal(); if (d == (void *)-1) { -#ifdef UNIX_MACOS StrCpy(charset, sizeof(charset), "utf-8"); -#else // UNIX_MACOS - StrCpy(charset, sizeof(charset), "EUCJP"); -#endif // UNIX_MACOS d = IconvWideToStrInternal(); if (d == (void *)-1) {