[Webkit-unassigned] [Bug 18270] treating x-user-defined different from windows-1252 breaks some Indian web sites

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 17:03:56 PDT 2008


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





------- Comment #4 from jungshik.shin at gmail.com  2008-09-08 17:03 PDT -------
Created an attachment (id=23280)
 --> (https://bugs.webkit.org/attachment.cgi?id=23280&action=view)
patch (layout test missing)

We can do something like this. I ran webkit-test and no test broke due to this
patch.  

I did spot checks of a few Indian web sites that declare x-user-defined and the
fonts used there. Their fonts have glyphs for U+2018 (corresponding to 0x93 in
windows-1252) and U+2014 (0x97 in windows-1252) but do not have glyphs for
U+0093 or U+0097 (unicode characters for 0x93/0x97 if they're interpreted as
ISO-8859-1).

There are several dozens (if not more) of 'font-encoded' fonts used for Indian
web sites. So, this spot check is far from complete.  Some sites declare
ISO-8859-1 and their fonts cover indeed ISO-8859-1 repertoire rather than
windows-1252 repertoire. What this patch does is to alias 'x-user-defined' to
'windows-1252' and does not break those sites with an "iso-8859-1 font". 

It's not very clear what IE does, but judging from the fact that a lot of
Indian web sites get away with 'x-user-defined' and 'windows-1252 fonts',  I
guess this patch brings webkit closer to IE's behavior without breaking FF
compatibility with XHR. 

If this is acceptable, I'll make a layout test for this. 


-- 
Configure bugmail: https://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