Recognize CP1258 (Windows Vietnamese) encoding in wxMSW

Just handle it in wxEncodingToCodepage() as the other encodings.

Closes #17753.
This commit is contained in:
Vadim Zeitlin
2016-12-19 19:16:24 +01:00
parent 068e0f6ec4
commit fa83c0eef3

View File

@@ -1517,6 +1517,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_CP1258: ret = 1258; break;
case wxFONTENCODING_EUC_JP: ret = 20932; break;