diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-05-21 17:01:23 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-05-21 17:01:23 -0400 |
commit | 39b8ce66f2ed9c17427ec3a48be9bda29b93b9d7 (patch) | |
tree | 97dbd9cf6cea6ea9b3cd0670a0e9bafd4b035267 /src/network/gethostbyaddr_r.c | |
parent | c648cefb27984db60474ec1747cbfde83c2856d0 (diff) | |
download | musl-39b8ce66f2ed9c17427ec3a48be9bda29b93b9d7.tar.gz musl-39b8ce66f2ed9c17427ec3a48be9bda29b93b9d7.tar.xz musl-39b8ce66f2ed9c17427ec3a48be9bda29b93b9d7.zip |
in iconv_open, accept "CHAR" and "" as aliases for "UTF-8"
while not a requirement, it's common convention in other iconv implementations to accept "CHAR" as an alias for nl_langinfo(CODESET), meaning the encoding used for char[] strings in the current locale, and also "" as an alternate form. supporting this is not costly and improves compatibility.
Diffstat (limited to 'src/network/gethostbyaddr_r.c')
0 files changed, 0 insertions, 0 deletions