<?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>13678</bug_id>
          
          <creation_ts>2011-08-05 03:18:12 +0000</creation_ts>
          <short_desc>Misleading encoding in FormData objects created on HTML Forms</short_desc>
          <delta_ts>2011-08-17 10:36:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>XHR</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wellington">wfernandom2004</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54214</commentid>
    <comment_count>0</comment_count>
    <who name="Wellington">wfernandom2004</who>
    <bug_when>2011-08-05 03:18:12 +0000</bug_when>
    <thetext>Using xhr_object.send(new FormData(html_form_object)) allows to submit files using xhr instead of using hidden iframes. However, currently, that will send utf-8 encoded data instead of the html_form_object&apos;s encoding. This behavior makes hard to web pages to maintain compatibility with older browsers that require hidden iframes and use other encodings than utf-8. PHP, for instance, uses the iso-8859-1 encoding by default.

Please see https://bugzilla.mozilla.org/show_bug.cgi?id=669239.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54221</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-08-05 08:36:57 +0000</bug_when>
    <thetext>Unless you go binary XMLHttpRequest is always UTF-8. Given that everyone ought to use UTF-8 anyway I would like to keep it that way.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>