[Webkit-unassigned] [Bug 22339] Support Indian web sites with EOT by on-the-fly transcoding to Unicode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 5 17:06:57 PST 2009


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





------- Comment #3 from jshin at chromium.org  2009-01-05 17:06 PDT -------
Great that this is coming along ! Thank you, Prunthaban !

I think TSCII support should be in a separate bug. Actually, I'd rather not
support it at all.  Well, I added it to Gecko a long time ago, but in 2009, I'd
rather not.  Anyway, that should be separate from this bug and has to be
implemented by adding a converter for TSCII (as Darin wrote). 

To Darin: no, TSCII is not a part of the ICU.  

As for converting back to the byte streama(using windows-1252 - the claimed
encoding of Indian pages) and then back again to Unicode (using a font-specific
encoding), I'm afraid it's too a roundabout way.  Maciej's original idea in the
webkit list was to treat the transcoding as a form of 'text-transform'. That
means working entirely in the Unicode space.  

IMHO, ICU's Transformer APIs [1] are good for that kind (m-to-n) of
transformation (Unicode to Unicode). The downside is that there are webkit
ports that do not use ICU.  For that, I suggested (offline?) that we add a
helper class/function that will be implemented using ICU (for ports that use
ICU) and implemented with something else for ports that do not use ICU. The
advantage is that the amount of the code to implement that in ports using ICU
would be much smaller than what 's in the patch. There may be an issue with
loading/storing the transformation rules for font-based-encodings. (we don't
want to build all those rules - a few dozens of them - as a part of webkit
binary but rather want to load if/when necessary).



[1] http://www.icu-project.org/userguide/Transform.html
    http://www.icu-project.org/userguide/TransformRule.html


-- 
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