Bug 54515

Summary: [GTK] [Windows] baidu.com [charset gb2312] didn't rendered correctly
Product: WebKit Reporter: Bakhtiar Hasmanan <mr.tiar>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, mrobinson, mr.tiar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
baidu.com
none
google.com.hk [glib+freetype]
none
Expected rendering in chromium
none
baidu.com webkit-1.2.7 with ICU4.6
none
baidu.com with glib unicode backend none

Description Bakhtiar Hasmanan 2011-02-15 17:40:23 PST
Created attachment 82555 [details]
baidu.com

webkitgtk+ 1.2.7 in all combination of icu, glib, pango, freetype.
baidu.com : Chinese largest search engine

baidu.com use <meta http-equiv="Content-Type" content="text/html;charset=gb2312">
google.com.hk use <meta http-equiv="content-type" content="text/html; charset=UTF-8">
Comment 1 Bakhtiar Hasmanan 2011-02-15 17:42:19 PST
Created attachment 82557 [details]
google.com.hk [glib+freetype]
Comment 2 Bakhtiar Hasmanan 2011-02-15 17:47:11 PST
Created attachment 82559 [details]
Expected rendering in chromium
Comment 3 Bakhtiar Hasmanan 2011-02-15 18:19:03 PST
works if charset was utf-8 or gbk failed if gb2312
Comment 4 Martin Robinson 2011-02-16 00:52:43 PST
Seems to work fine on Linux, so I'm adding the Windows tag.
Comment 5 Bakhtiar Hasmanan 2011-03-09 07:45:46 PST
Works with ICU 4.6 backend
Comment 6 Bakhtiar Hasmanan 2011-03-09 07:50:15 PST
Created attachment 85176 [details]
baidu.com webkit-1.2.7 with ICU4.6
Comment 7 Martin Robinson 2011-03-09 13:24:04 PST
Ccing Carlos since he's the one who knows the most about the current state of the GLib unicode backend.
Comment 8 Carlos Garcia Campos 2011-03-10 06:08:06 PST
Created attachment 85314 [details]
baidu.com with glib unicode backend

This is what I get with current webkit built with the glib unicode backend.
Comment 9 Carlos Garcia Campos 2011-03-10 06:09:34 PST
(In reply to comment #8)
> Created an attachment (id=85314) [details]
> baidu.com with glib unicode backend
> 
> This is what I get with current webkit built with the glib unicode backend.

in Linux
Comment 10 Bakhtiar Hasmanan 2011-03-11 10:58:24 PST
My first screenshot is with glib-2.22.5 (since I use older gtk 2.16)
Comment 11 Martin Robinson 2012-12-11 01:56:16 PST
It'd be interesting to hear if this still fails with trunk.
Comment 12 Bakhtiar Hasmanan 2012-12-11 02:02:29 PST
Already works with 1.8.x