<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24130</bug_id>
          
          <creation_ts>2013-12-18 15:54:15 +0000</creation_ts>
          <short_desc>Shift_JIS decoder should support PUA code points</short_desc>
          <delta_ts>2014-05-12 14:36:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>Encoding</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.mozilla.org/show_bug.cgi?id=747762</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>16862</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Masatoshi Kimura">VYV03354</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>annevk</cc>
    
    <cc>hsivonen</cc>
    
    <cc>mike</cc>
    
    <cc>poccil</cc>
    
    <cc>pub-w3</cc>
    
    <cc>www-international</cc>
          
          <qa_contact>sideshowbarker+encodingspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97783</commentid>
    <comment_count>0</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2013-12-18 15:54:15 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #16862 +++

(I&apos;m concentrating Shift_JIS atm because I&apos;m more familiar with the encoding than other foreign encodings.)

Presto discontinued. Now virtually all browsers support the EUDC code range. But the spec doesn&apos;t reflect the reality.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103090</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-03-28 12:18:52 +0000</bug_when>
    <thetext>Do you have a pointer to what changes this would require?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103095</commentid>
    <comment_count>2</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2014-03-28 12:42:29 +0000</bug_when>
    <thetext>The current decoder step 3.4 would be broken down as follows:
3.4. Let code point be null, if pointer is null, and run these substeps otherwose:
3.4.1. Let code point be index code point for pointer in index jis0208.
3.4.2. If code point is null and pointer is in range between 8836 and 10528, let code point be 0xE000 + (pointer - 8836).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103677</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-04-10 14:54:25 +0000</bug_when>
    <thetext>This was removed in https://github.com/whatwg/encoding/commit/651f672ee988702da03f56ad8bdfda00b51a21ea That suggests a simpler approach here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103681</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-04-10 15:13:55 +0000</bug_when>
    <thetext>https://github.com/whatwg/encoding/commit/08c2f268222a45b79853a905159ec7a9563a51ef</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105725</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-05-12 14:36:55 +0000</bug_when>
    <thetext>This fix was wrong. I went with a fix closer to that suggested in comment 2:

https://github.com/whatwg/encoding/commit/236196e8ce274c44ab45109dfc8da9539ae44e1d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>