<?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>19943</bug_id>
          
          <creation_ts>2012-11-11 23:10:52 +0000</creation_ts>
          <short_desc>Only ASCII encoded by the x-user-defined encoder</short_desc>
          <delta_ts>2012-11-15 14:31:42 +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>
          
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>pub-w3</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <cc>VYV03354</cc>
          
          <qa_contact>sideshowbarker+encodingspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78211</commentid>
    <comment_count>0</comment_count>
    <who name="">pub-w3</who>
    <bug_when>2012-11-11 23:10:52 +0000</bug_when>
    <thetext>The x-user-defined encoder only encodes (7-bit) ASCII.  Please add a note if this is intentional.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78245</commentid>
    <comment_count>1</comment_count>
    <who name="">pub-w3</who>
    <bug_when>2012-11-12 22:11:24 +0000</bug_when>
    <thetext>As far as I can tell, Safari and Firefox, the ones that map from 0x80--0xFF to U+F780--U+F7FF, also map back to %80--%FF for form submission as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78246</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-11-12 22:42:36 +0000</bug_when>
    <thetext>Oh really? So it could just be defined as a single-byte encoding? I guess my testing was bogus :/ Do you have a test online?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78249</commentid>
    <comment_count>3</comment_count>
    <who name="">pub-w3</who>
    <bug_when>2012-11-12 23:02:53 +0000</bug_when>
    <thetext>Simple test now available at &lt;http://coq.no/X/charset5/x-user-defined.php&gt;:

&lt;?php header(&apos;Content-Type: text/html; charset=x-user-defined&apos;); ?&gt;
&lt;form&gt;
&lt;input type=&quot;text&quot; name=&quot;data&quot; value=&quot;&lt;?php echo &quot;88\x8899\x99AA\xAABB\xBB&quot; ?&gt;&quot;&gt;
&lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;
&lt;/form&gt;

Submitting the form gives ?data=88%8899%99AA%AABB%BB.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78356</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-11-15 14:31:42 +0000</bug_when>
    <thetext>https://github.com/whatwg/encoding/commit/05c31ac5cc7fd2c428fa78cd333ab0b4d4e13d55</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>