aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-07-18 01:00:55 +0000
committernyamatongwe <unknown>2005-07-18 01:00:55 +0000
commitdebba08180dd50962f701b74fd333ed9bd0bfb00 (patch)
treed7a59b463c1ed9739bcf7f93f5f49d76662e7afc
parenta465db59fb83fe6fe20d18b69a23d3e7e44432a9 (diff)
downloadscintilla-mirror-debba08180dd50962f701b74fd333ed9bd0bfb00.tar.gz
Support for Cyrillic code page 1252 on GTK+.
-rw-r--r--gtk/PlatGTK.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 99c6767bc..f3d672774 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -286,6 +286,8 @@ static const char *CharacterSetName(int characterSet) {
return "*-*";
case SC_CHARSET_RUSSIAN:
return "*-r";
+ case SC_CHARSET_CYRILLIC:
+ return "*-cp1251";
case SC_CHARSET_SHIFTJIS:
return "jisx0208.1983-*";
case SC_CHARSET_SYMBOL:
@@ -744,6 +746,8 @@ const char *CharacterSetID(int characterSet) {
return "ASCII";
case SC_CHARSET_RUSSIAN:
return "KOI8-R";
+ case SC_CHARSET_CYRILLIC:
+ return "CP1251";
case SC_CHARSET_SHIFTJIS:
return "SHIFT-JIS";
case SC_CHARSET_SYMBOL: