1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-07 02:00:41 +03:00

Internat.c: fix iconv() with musl by removing unrecognized EUCJP encoding

This commit is contained in:
thepyper 2018-04-04 13:16:25 +00:00 committed by thepyper
parent 863f87fac1
commit a7930de654

View File

@ -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)
{