Treat KOI8-R same as KOI8-RU

git-svn-id: svn://kolibrios.org@7079 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ashmew2 2017-10-10 15:20:09 +00:00
parent c62eee63a5
commit 2a1ffc595b

View File

@ -51,6 +51,7 @@ int encoding(const char *someencoding) {
if (!strcasecmp(what,"windows-1252")) return CP1252;
if (!strcasecmp(what,"CP1252")) return CP1252;
if (!strcasecmp(what,"KOI8-RU")) return KOI8_RU;
if (!strcasecmp(what,"KOI8-R")) return KOI8_RU;
if (!strcasecmp(what,"ISO8859-5")) return ISO8859_5;
if (!strcasecmp(what,"UTF-8")) return UTF_8;
return -1;