[Bug 13678] New: Misleading encoding in FormData objects created on HTML Forms

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13678

           Summary: Misleading encoding in FormData objects created on
                    HTML Forms
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XHR 2.0
        AssignedTo: annevk@opera.com
        ReportedBy: wfernandom2004@gmail.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


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'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.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 5 August 2011 03:18:13 UTC