Added GB2312, BIG5, EUC-JP and Shift-JIS encodings to
known encodings so that message catalogs written in these encodings can be loaded. I did't find the code where I can specify that GB2312 is actually the same as the Windows code page. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -652,6 +652,11 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
|
||||
info->xencoding = wxT("*");
|
||||
break;
|
||||
|
||||
case wxFONTENCODING_GB2312:
|
||||
info->xregistry = wxT("GB2312"); // or the otherway round?
|
||||
info->xencoding = wxT("*");
|
||||
break;
|
||||
|
||||
case wxFONTENCODING_KOI8:
|
||||
info->xregistry = wxT("koi8");
|
||||
|
||||
|
Reference in New Issue
Block a user