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:
parent
863f87fac1
commit
a7930de654
@ -935,11 +935,7 @@ void InitInternational()
|
|||||||
d = IconvWideToStrInternal();
|
d = IconvWideToStrInternal();
|
||||||
if (d == (void *)-1)
|
if (d == (void *)-1)
|
||||||
{
|
{
|
||||||
#ifdef UNIX_MACOS
|
|
||||||
StrCpy(charset, sizeof(charset), "utf-8");
|
StrCpy(charset, sizeof(charset), "utf-8");
|
||||||
#else // UNIX_MACOS
|
|
||||||
StrCpy(charset, sizeof(charset), "EUCJP");
|
|
||||||
#endif // UNIX_MACOS
|
|
||||||
d = IconvWideToStrInternal();
|
d = IconvWideToStrInternal();
|
||||||
if (d == (void *)-1)
|
if (d == (void *)-1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user