OSDN Git Service

add iso-2022-jp support (decoding only) to iconv
authorRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 22:06:32 +0000 (17:06 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 10 Nov 2017 22:22:43 +0000 (17:22 -0500)
commita39f20bf9f8e59573a479bff23df345b2b4d2345
treee8b70165af9c19269e1ae95bcf52362ee5baa12a
parent5b546faa67544af395d6407553762b37e9711157
add iso-2022-jp support (decoding only) to iconv

this implementation aims to match the baseline defined by rfc1468 (the
original mime charset definition) plus the halfwidth katakana
extension included in the whatwg definition of the charset. rejection
of si/so controls and newlines in doublebyte state are not currently
enforced. the jis x 0201 mode is currently interpreted as having the
yen sign and overline character in place of backslash and tilde; ascii
mode has the standard ascii characters in those slots.
src/locale/iconv.c