[Webkit-unassigned] [Bug 66056] The XML parser doesn't ignore user's encoding choice for XML files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 13 16:59:21 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66056





--- Comment #14 from Leif Halvard Silli <xn--mlform-iua at xn--mlform-iua.no>  2011-08-13 16:59:22 PST ---
This also affects SVG files.

TEST FILE: http://malform.no/testing/html5/bom/frame6
    HTML FILE FEATURES: 
            WIN-1252 encoded w/SVG image embedded in IMG, OBJECT and IFRAME.
    SVG FILE FEATURES: 
            UTF-8 encoded *with* encoding declaration. 
            Text of the SVG file is 'Hello world!" in Russian.

By default, this page looks as it should - everything is decoded correctly. *HOWEVER* the text of the HTML file is not readable, becaus of my willfull mislabeling. Thus, let us imagine that the user manually selects an encoding (any encoding except UTF-8), in order to make it more readble.

EXPECTED RESULT: 
            SVG file rendering to be unaffected for both IMG, OBJECT and IFRAME

ACTUAL RESULT: 
            The <img> remains unaffected, as expected.
            But for <object> + <iframe>, encoding is overridden (making the text unreadable)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list