From 7feaa024b3633a304e03afa4ac06cd1757869ccf Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 27 Sep 2019 19:31:38 +0200 Subject: [PATCH] Add support for code page 1361 (Johab Korean) As with the previous commit, recognize the system CP1361 encoding, which can be mapped to an existing wxFONTENCODING_CP1361 constant. --- src/common/intl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 98ce930018..150fa2de06 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -892,6 +892,9 @@ wxFontEncoding wxLocale::GetSystemEncoding() case 1258: return (wxFontEncoding)(wxFONTENCODING_CP1250 + codepage - 1250); + case 1361: + return wxFONTENCODING_CP1361; + case 874: return wxFONTENCODING_CP874;