You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
822 B

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