[Bug 28661] U+2212 in shift_jis encoder

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28661

--- Comment #14 from Jungshik Shin <jshin@chromium.org> ---
(In reply to Masatoshi Kimura from comment #13)
> Created attachment 1607 [details]
> encoding-only mappings found on IE 11
> 
> Most entries are bogus, but IE has one encoding-only (U+00A5 to 0x5c) for
> Japanese encodings and fullwidth-to-halfwidth mappings for ISO-2022-JP.

The current encoding spec (and Chrome's Shift_JIS) has two one-way mapping
(fromUnicode):

If code point is U+00A5, return byte 0x5C.

If code point is U+203E, return byte 0x7E.

ICU's default Shift_JIS (ibm-943) has 47 encoding-only mappings. Most of them
are Kanjis, but several of them are various symbols/punctuations like wave dash
(two of them are U+00A5 and U+203E)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 28 May 2015 22:31:19 UTC