[Webkit-unassigned] [Bug 118410] Segmentation fault occurred when ICU data library doesn't embed the expected encoding
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 10 10:29:50 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118410
--- Comment #17 from Alexey Proskuryakov <ap at webkit.org> 2013-07-10 10:31:51 PST ---
> (In reply to comment #15)
> 1) ISO-8859-8:
> registrar("ISO-8859-8", "ISO-8859-8") -> addToTextEncodingNameMap
> a) isUndesiredAlias -> no
> b) textEncodingNameMap->get("ISO-8859-8") -> 0 -> atomicName = "ISO-8859-8"
> c) textEncodingNameMap->add("ISO-8859-8", "ISO-8859-8")
After this step, the code iterates and registers all ICU aliases for ISO-8859-8, which includes ISO-8859-8-I (see <http://demo.icu-project.org/icu-bin/convexp?s=IANA&s=MIME>).
> 2) ISO-8859-8-I:
> registrar("ISO-8859-8-I", "ISO-8859-8-I") -> addToTextEncodingNameMap
> a) isUndesiredAlias -> no
> b) textEncodingNameMap->get("ISO-8859-8-I") -> 0 -> atomicName = "ISO-8859-8-I"
… so textEncodingNameMap->get("ISO-8859-8-I") will return "ISO-8859-8".
> c) textEncodingNameMap->add("ISO-8859-8-I", "ISO-8859-8-I")
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list