From a50ca84319b10ae95672696a82a6ed367dfd05e9 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 7 May 2005 11:51:17 +0000 Subject: [PATCH] Commit fix for EUC_JP encoding under Windows. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 5e295b5a8e..c8be5b77c9 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -1380,7 +1380,7 @@ extern WXDLLIMPEXP_BASE long wxEncodingToCodepage(wxFontEncoding encoding) case wxFONTENCODING_CP1255: ret = 1255; break; case wxFONTENCODING_CP1256: ret = 1256; break; case wxFONTENCODING_CP1257: ret = 1257; break; - case wxFONTENCODING_EUC_JP: ret = 51932; break; + case wxFONTENCODING_EUC_JP: ret = 20932; break; case wxFONTENCODING_MACROMAN: ret = 10000; break; case wxFONTENCODING_MACJAPANESE: ret = 10001; break; case wxFONTENCODING_MACCHINESETRAD: ret = 10002; break;