[Webkit-unassigned] [Bug 14951] New: page interpreted as UTF-8 because of stray <?xml> after <head>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 12 15:06:49 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14951

           Summary: page interpreted as UTF-8 because of stray <?xml> after
                    <head>
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://www.becu.org
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: darin at apple.com
                CC: ap at webkit.org


At www.becu.org there's a missing character glyph, the <?> symbol, at what
should be some whitespace.

The reason for this is that we're interpreting the page as UTF-8, despite the
fact that it's not labeled as such. That's because in this file there is the
following stray content (not at the beginning, after the entire <head>
section).

    <?xml version="1.0" encoding="UTF-16"?>

This causes the TextResourceDecoder to decide the file is UTF-8! Doesn't happen
in other browsers.


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



More information about the webkit-unassigned mailing list