aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libiconv/src
diff options
context:
space:
mode:
authorGergely Kiss <mail.gery@gmail.com>2016-05-02 02:46:33 +0200
committerJo-Philipp Wich <jo@mein.io>2016-05-02 18:35:35 +0100
commita2b555189b2cc051bf706eae3ba2b08d094f63c0 (patch)
tree88008ac3f9a3735328f7b92292eb33a07269d093 /package/libs/libiconv/src
parent6a06cd833187f09fdb4dd9b5ee169791fbde6047 (diff)
downloadupstream-a2b555189b2cc051bf706eae3ba2b08d094f63c0.tar.gz
upstream-a2b555189b2cc051bf706eae3ba2b08d094f63c0.tar.bz2
upstream-a2b555189b2cc051bf706eae3ba2b08d094f63c0.zip
libiconv: add all ASCII aliases
This patch adds missing ASCII aliases to the libiconv stub in order to avoid conversion errors like https://github.com/openwrt/packages/issues/2373 Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Diffstat (limited to 'package/libs/libiconv/src')
-rw-r--r--package/libs/libiconv/src/iconv.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/libs/libiconv/src/iconv.c b/package/libs/libiconv/src/iconv.c
index d2e19e3c45..c3cfefa3cc 100644
--- a/package/libs/libiconv/src/iconv.c
+++ b/package/libs/libiconv/src/iconv.c
@@ -44,6 +44,15 @@ static const unsigned char charsets[] =
"\003" "UTF-32LE" "\0"
"\006" "ASCII" "\0"
"\006" "US-ASCII" "\0"
+ "\006" "ISO646-US" "\0"
+ "\006" "ISO_646.IRV:1991" "\0"
+ "\006" "ISO-IR-6" "\0"
+ "\006" "ANSI_X3.4-1968" "\0"
+ "\006" "ANSI_X3.4-1986" "\0"
+ "\006" "CP367" "\0"
+ "\006" "IBM367" "\0"
+ "\006" "US" "\0"
+ "\006" "CSASCII" "\0"
"\007" "ISO-8859-1" "\0"
"\007" "LATIN1" "\0"
"\010" "ISO-8859-15""\0"