aboutsummaryrefslogtreecommitdiff
path: root/net/softethervpn/patches/103-noeucjp.patch
blob: b1e338cfc0e9f6fe395c04e1860814a6cc0f616a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/src/Mayaqua/Internat.c
+++ b/src/Mayaqua/Internat.c
@@ -114,7 +114,7 @@
 #include <Mayaqua/Mayaqua.h>
 
 extern LOCK *token_lock;
-static char charset[MAX_SIZE] = "EUCJP";
+static char charset[MAX_SIZE] = "utf-8";
 static LOCK *iconv_lock = NULL;
 void *iconv_cache_wide_to_str = 0;
 void *iconv_cache_str_to_wide = 0;
@@ -929,7 +929,7 @@ void InitInternational()
 #ifdef	UNIX_MACOS
 		StrCpy(charset, sizeof(charset), "utf-8");
 #else	// UNIX_MACOS
-		StrCpy(charset, sizeof(charset), "EUCJP");
+		StrCpy(charset, sizeof(charset), "utf-8");
 #endif	// UNIX_MACOS
 		d = IconvWideToStrInternal();
 		if (d == (void *)-1)
@@ -1189,7 +1189,7 @@ void GetCurrentCharSet(char *name, UINT
 		}
 		else
 		{
-			StrCpy(name, size, "eucJP");
+			StrCpy(name, size, "utf-8");
 		}
 	}
 	FreeToken(t);