handle ascii range individually in each iconv case
authorRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 18:34:21 +0000 (13:34 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 18:34:21 +0000 (13:34 -0500)
commit9eb6dd5165b803715f82b9f5d4b557878f77a580
treef126f61faa8fceb29bb98c946b1eef542e0f7302
parentbff59d13a82cd4c02792fd73da0e7c79bda022ff
handle ascii range individually in each iconv case

short-circuiting low bytes before the switch precluded support for
character encodings that don't coincide with ascii in this range. this
limitation affected iso-2022 encodings, which use the esc byte to
introduce a shift sequence, and things like ebcdic.
src/locale/iconv.c