- From: <bugzilla@jessica.w3.org>
- Date: Wed, 20 May 2015 06:11:52 +0000
- To: www-international@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28661
Bug ID: 28661
Summary: U+2212 in shift_jis encoder
Product: WHATWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Encoding
Assignee: annevk@annevk.nl
Reporter: tkent@chromium.org
QA Contact: sideshowbarker+encodingspec@gmail.com
CC: mike@w3.org, www-international@w3.org
https://encoding.spec.whatwg.org/#shift_jis-encoder
Proposal: Adding the following step between step 4 and 5 of the shift_jis
encoder:
* If code pint is U+2212, return two bytes; 0x81 and 0x7c.
See crbug.com/425417 .
While we enable Japanese input method, pressing "-" key produces U+2212 on Mac,
and U+FF0D on Windows. Browsers using ICU mapping converts U+2212 to bytes
same as U+FF0D. So, we had no issues. Google Chrome switched to a strict
mapping specified by Encoding API specification, and it caused problems.
"-" is very frequently used in Japanese users because it appears in postal
addresses.
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 20 May 2015 06:11:54 UTC