[PATCH] Suppress below message, with fix mojibake for japanese filename in LANG=ja_JP.SJIS environment. "err:environ:init_unix_codepage unrecognized charset 'SJIS'"

Yoshiji Emoto alumina.from.ceramix at gmail.com
Fri Jun 24 16:50:14 CDT 2022


In past I sent patch for "dlls/winex11.drv/window.c" is not needed.
Cancel it please.

Signed-off-by: Yoshiji Emoto <alumina.from.ceramix at gmail.com>
---
 dlls/ntdll/unix/env.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ntdll/unix/env.c b/dlls/ntdll/unix/env.c
index a71df03966f..90035f683e7 100644
--- a/dlls/ntdll/unix/env.c
+++ b/dlls/ntdll/unix/env.c
@@ -270,6 +270,7 @@ static const struct { const char *name; UINT cp; } charset_names[] =
     { "ISO88599", 28599 },
     { "KOI8R", 20866 },
     { "KOI8U", 21866 },
+    { "SJIS", 932 },
     { "TIS620", 28601 },
     { "UTF8", CP_UTF8 }
 };
-- 
2.35.2




More information about the wine-devel mailing list