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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user