]> git.saurik.com Git - wxWidgets.git/commitdiff
recognize EUC-KR charset (patch 983264)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Jul 2004 09:32:48 +0000 (09:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Jul 2004 09:32:48 +0000 (09:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fmapbase.cpp

index 8aba4bafc8b43ec6482fd7605ec389ffadb167df..f1e324cb9218a95fae4bf60d51216d5a1ce9fcfa 100644 (file)
@@ -519,6 +519,11 @@ wxFontMapperBase::NonInteractiveCharsetToEncoding(const wxString& charset)
         {
             encoding = wxFONTENCODING_EUC_JP;
         }
+        else if ( cs == wxT("EUC-KR") ||
+                  cs == wxT("EUC_KR") )
+        {
+            encoding = wxFONTENCODING_CP949;
+        } 
         else if ( cs == wxT("KOI8-R") ||
                   cs == wxT("KOI8-RU") )
         {