[Webkit-unassigned] [Bug 12526] New: Safari ignores encoding description "charset=Shift_JIS" in invalid html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 1 00:06:44 PST 2007


           Summary: Safari ignores encoding description "charset=Shift_JIS"
                    in invalid html
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: darin at apple.com

2006-12-06 00:46:39 Masayuki Shibatani:
Recap the problem title and/or include more descriptive summary information.

1. Install Leopard 9A320 as English primary, Japanese country region and
Kotoeri as default keyboard.
2. Open URL:http://www.bandai.co.jp/releases/J2006120401.html

Actual: The page is garbled. See attached screen shot.

Expected: Since there is a description '<meta http-equiv="Content-Type"
content="text/html; charset=Shift_JIS">'. Safari should treat the page as
Shift_JIS encoding.

2006-12-06 00:47:16 Masayuki Shibatani:
Attached html source.

2006-12-11 20:56:14 Stephanie Lewis:
Changing the encoding to Shift_JIS fixes the problem, Safari is not picking up
the encoding.  Happens in Safari 2.0.4 and Leopard 9A319.

2007-01-11 21:11:03 Hiroshi Sakuraba:
This is an regression from Tiger and needs to be fixed in Leopard. Nominating
Int'l BRB.

2007-01-16 14:36:38 DAVID Murphy:
Intl BRB:  Setting Intl Blocker/P1 for Leopard.

2007-01-16 21:52:09 Oliver Hunt:
Examining this bug the most obvious problem is that this page is fundamentally
poorly formed with a div defined outside the body of the page.

As firefox can handle this, we need to however.

2007-01-17 17:36:10 Oliver Hunt:
Just verified: this is *not* a regression.

2007-01-17 17:47:56 Ping Huey:
Per email from Oliver:
I believe you are exagerating the importance of this bug, as the page is
invalid.  We offer a lot of leeway in charset definitions, and in those case we
do correctly determine the charset.

I have relabelled the radar to make it more clear.  We are failing in this
particular example of a broken page, not on all Shift_JIS pages.

Re-nom'ing to intl brb for reconsideration.

2007-01-23 13:38:10 DAVID Murphy:
Intl BRB:  Setting Intl High Priority/P2.


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