Bug 25107

Summary: Should be generous in parsing meta charset
Product: WebKit Reporter: xlyuan
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, jshin, mal
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://www.jb51.net/article/10985.htm
Attachments:
Description Flags
Attaching test file none

xlyuan
Reported 2009-04-08 21:03:45 PDT
Build: WebKit-r42232 (2009-04-07) OS: Windows, not test on Mac Other Browsers: Chromium: Fail Firefox3: OK IE7: OK Steps: 1. Launch Safari 2. Open attached test file or go to http://www.jb51.net/article/10985.htm 3. Observe Result: Text is garbled, please note that the meta tag has an extra quotation mark before gb2312 <meta http-equiv="Content-Type" content="text/html; charset="gb2312" /> Expected: Show text correctly Notes: This is also tracked in Chromium as crbug.com/7158
Attachments
Attaching test file (399 bytes, text/html)
2009-04-08 21:05 PDT, xlyuan
no flags
xlyuan
Comment 1 2009-04-08 21:05:25 PDT
Created attachment 29356 [details] Attaching test file
Eric Seidel (no email)
Comment 2 2009-04-09 01:48:29 PDT
This should be covered by HTML5's parser. We should follow whatever HTML5 says to do here.
Alexey Proskuryakov
Comment 3 2009-04-10 01:28:22 PDT
This is exactly the same case as in bug 18692. *** This bug has been marked as a duplicate of 18692 ***
Note You need to log in before you can comment on or make changes to this bug.