فهرست منبع

Add Korean encoding(CP949)

hwiorn 5 سال پیش
والد
کامیت
0c3be77e78
2فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  1. 3 1
      launcher/settingsView/csettingsview_moc.cpp
  2. 5 0
      launcher/settingsView/csettingsview_moc.ui

+ 3 - 1
launcher/settingsView/csettingsview_moc.cpp

@@ -26,7 +26,9 @@ static const std::string knownEncodingsList[] = //TODO: remove hardcode
 	"CP1252", // Latin/East European, covers most of latin languages
 	// Chinese encodings
 	"GBK", // extension of GB2312, also known as CP936
-	"GB2312" // basic set for Simplified Chinese. Separate from GBK to allow proper detection of H3 fonts
+	"GB2312", // basic set for Simplified Chinese. Separate from GBK to allow proper detection of H3 fonts
+	// Korean encodings
+	"CP949" // extension of EUC-KR.
 };
 
 void CSettingsView::setDisplayList()

+ 5 - 0
launcher/settingsView/csettingsview_moc.ui

@@ -549,6 +549,11 @@
        <string>Simplified Chinese (GB2312)</string>
       </property>
      </item>
+     <item>
+      <property name="text">
+       <string>Korean (Windows 949)</string>
+      </property>
+     </item>
     </widget>
    </item>
    <item row="10" column="1">