- From: jungshik <notifications@github.com>
- Date: Sun, 07 May 2017 09:24:13 -0700
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 7 May 2017 16:24:53 UTC
Sorry for the confusion. It turned out that ICU's ISO-2022-JP converter (and other converters used in browsers) supports Halfwidth Katakana ("ESC ( I") in the spirit of 'be lenient in what you accept and be strict in what you emit'. For instance, it's explicitly commented in [ICU's ucnv2022.cpp](https://cs.chromium.org/chromium/src/third_party/icu/source/common/ucnv2022.cpp?rcl=b34251f8b762f8e2112a89c587855ca4297fed96&l=172) ``` Note: The converter uses some leniency: - The escape sequence ESC ( I for half-width 7-bit Katakana is recognized in all versions, not just JIS7 and JIS8. ..... static const uint16_t jpCharsetMasks[MAX_JA_VERSION+1]={ CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT), <== ISO-2022-JP version 0 still has HWKANA_7BIT ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/encoding/issues/105#issuecomment-299717215
Received on Sunday, 7 May 2017 16:24:53 UTC