Add support for CP1258 (Vietnamese) and CP1361 (Korean Johab) encodings.

Recognize these encodings names and translate them to/from the corresponding
charset constants in wxMSW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-06-01 11:01:46 +00:00
parent 0980e7b323
commit 2253f18176
6 changed files with 37 additions and 2 deletions

View File

@@ -251,6 +251,14 @@ wxFontEncoding wxGetFontEncFromCharSet(int cs)
fontEncoding = wxFONTENCODING_CP950;
break;
case VIETNAMESE_CHARSET:
fontEncoding = wxFONTENCODING_CP1258;
break;
case JOHAB_CHARSET:
fontEncoding = wxFONTENCODING_CP1361;
break;
#endif // Win32
case OEM_CHARSET: