Группа :: Графические оболочки/KDE
Пакет: kdelibs
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: kdelibs-3.3.0-ibm866.patch
--- kdelibs-3.3.0/kdecore/kcharsets.cpp.orig 2004-07-17 23:22:31 +0400
+++ kdelibs-3.3.0/kdecore/kcharsets.cpp 2004-09-27 20:04:58 +0400
@@ -68,13 +68,13 @@ static const char * const language_names
// every line must end with 0
static const char* const charsets_for_encoding[] = {
- "koi8-r", "koi8-r","cp 1251","koi8-u","iso-8859-5", 0,
+ "koi8-r", "koi8-r","cp 1251","koi8-u","iso-8859-5", "ibm866", 0,
"koi8-u", "koi8-u","cp 1251","iso-8859-5","koi8-r", 0,
"iso 8859-1", "iso8859-1","iso8859-15", 0,
"iso 8859-2", "iso8859-2","unicode","iso8859-1", 0,
"iso 8859-3", "iso8859-3","unicode","iso8859-1", 0,
"iso 8859-4", "iso8859-4","unicode","iso8859-13", "iso8859-1", 0,
- "iso 8859-5", "iso8859-5","koi8-u","koi8-r", 0,
+ "iso 8859-5", "iso8859-5","koi8-u","koi8-r","cp 1251", "ibm866", 0,
"iso 8859-6", "unicode","iso8859-6", 0,
"iso 8859-7", "iso8859-7", 0,
"iso 8859-8", "iso8859-8", 0,
@@ -87,7 +87,7 @@ static const char* const charsets_for_en
"utf16", "unicode","iso8859-1", 0,
"iso-10646-ucs-2", "unicode","iso8859-1", 0,
"cp 1250", "iso8859-2", 0,
- "cp 1251", "cp 1251","koi8-u","koi8-r","iso8859-5", 0,
+ "cp 1251", "cp 1251","koi8-u","koi8-r","iso8859-5", "ibm866", 0,
"cp 1252", "iso8859-1", 0,
"cp 1253", "iso8859-7", 0,
"cp 1254", "iso8859-9", 0,
@@ -145,6 +145,7 @@ static struct LanguageForEncoding
{ "cp 1254", 12 },
{ "cp 1257", 2 },
{ "ibm852", 3 },
+ { "ibm866", 6 },
{ "koi8-r", 6 },
{ "iso 8859-5", 6 },
{ "cp 1251", 6 },
@@ -183,6 +184,7 @@ static struct Builtin
const char* index;
const char* data;
} const builtin[] = {
+ { "ibm 866", "ibm866" },
{ "iso-ir-111", "koi8-r" },
{ "koi8-ru", "koi8-u" },
{ "koi8r", "koi8-r" },
@@ -306,6 +308,7 @@ static struct Aliases
const char* index;
const char* data;
} const aliases[] = {
+ { "cp866", "ibm866" },
{ "cp852", "ibm852" },
{ "cp-852", "ibm852" },
{ "x-cp-852", "ibm852" },