From 2a1ffc595b196d07c9c8414e06246b899414c387 Mon Sep 17 00:00:00 2001 From: ashmew2 Date: Tue, 10 Oct 2017 15:20:09 +0000 Subject: [PATCH] Treat KOI8-R same as KOI8-RU git-svn-id: svn://kolibrios.org@7079 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/iconv/iconv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/develop/libraries/iconv/iconv.c b/programs/develop/libraries/iconv/iconv.c index b502fc9936..45cdd506ee 100644 --- a/programs/develop/libraries/iconv/iconv.c +++ b/programs/develop/libraries/iconv/iconv.c @@ -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;