ISSUE-449: handling of U+5341(and potentially other dupe points) is incompatible with Firefox, Chrome and IE 11

handling of U+5341(and potentially other dupe points) is incompatible with Firefox, Chrome and IE 11

State:
CLOSED
Product:
encoding
Raised by:
Richard Ishida
Opened on:
2015-03-30
Description:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27878

This issue tracks the bug listed above and was created as part of the WG CR process.

---

Reporter: jshin@chromium.org

Spun off from bug 16389

Duplicate entries in index-*.txt is
http://lists.w3.org/Archives/Public/www-archive/2012Apr/0062.html


https://encoding.spec.whatwg.org/#index-pointer has the following:



The index pointer for code point in index is the first pointer corresponding to
code point in index, or null if code point is not in index.

And, the big5 encoder has the following steps:

3. Let pointer be the index pointer for code point in index big5.

4. If pointer is null, return error with code point.

....




Using the first pointer for round-trip while using others for decoding-only
(toUnicode) seems to lead to at least one discrepancy from Firefox 35, Chrome
and IE 11 in Big5.

index-big5.txt has two entries for U+5341 as shown below:

5287 0x5341 十 (<CJK Ideograph>)
5512 0x5341 十 (<CJK Ideograph>)

5287 corresponds to {0xA2 0xCC} and 5512 is {0xA4 0x51}.

All three browsers above encode U+5341 to {0xA4 0x51} in Big5 instead of {0xA2
0xCC}.
Related Actions Items:
No related actions
Related emails:
  1. I18N-ISSUE-449 (BUG27878): handling of U+5341(and potentially other dupe points) is incompatible with Firefox, Chrome and IE 11 [encoding] (from sysbot+tracker@w3.org on 2015-03-30)

Related notes:

These issues are now tracked at http://www.w3.org/International/docs/encoding/encoding-cr-doc

Richard Ishida, 16 Sep 2015, 11:49:24

Display change log ATOM feed


Addison Phillips <addison@amazon.com>, Chair, Richard Ishida <ishida@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $