commit | 39b8ce66f2ed9c17427ec3a48be9bda29b93b9d7 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Thu May 21 17:01:23 2015 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Thu May 21 17:01:23 2015 -0400 |
tree | 97dbd9cf6cea6ea9b3cd0670a0e9bafd4b035267 | |
parent | c648cefb27984db60474ec1747cbfde83c2856d0 [diff] |
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.