Add Windows-1252 (CP1252) to iconv library

git-svn-id: svn://kolibrios.org@6892 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ashmew2 2017-05-12 20:26:26 +00:00
parent dc5527c5ca
commit 5ac8ef4526

View File

@ -48,15 +48,15 @@ int strcmp (const char* a, const char* b)
int encoding(const char *what) { int encoding(const char *what) {
if (!strcmp(what,"CP866")) return CP866; if (!strcmp(what,"CP866")) return CP866;
if (!strcmp(what,"CP1251")) return CP1251; if (!strcmp(what,"CP1251")) return CP1251;
if (!strcmp(what,"windows-1252")) return CP1252;
if (!strcmp(what,"CP1252")) return CP1252; if (!strcmp(what,"CP1252")) return CP1252;
if (!strcmp(what,"KOI8-RU")) return KOI8_RU; if (!strcmp(what,"KOI8-RU")) return KOI8_RU;
if (!strcmp(what,"ISO8859-5")) return ISO8859_5; if (!strcmp(what,"ISO8859-5")) return ISO8859_5;
if (!strcmp(what,"UTF-8")) return UTF_8; if (!strcmp(what,"UTF-8")) return UTF_8;
return -1; return -1;
} }