[Webkit-unassigned] [Bug 15914] [GTK] Implement Unicode functionality using GLib

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 26 08:41:35 PDT 2008


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





------- Comment #15 from dominik.roettsches at access-company.com  2008-08-26 08:41 PDT -------
(In reply to comment #6)

> The patch still needs work, though. It doesn't register all available encodings [...]

Regarding listing the encodings, I'm currently considering two alternatives:

1) Probe g_iconv_open with all the supported encodings listed in the libiconv's
list of supported encodings (http://www.gnu.org/software/libiconv/). For each
probe, if successful, register the respective encoding with webcore. This
avoids a direct dependency to libiconv but isn't very elegant. 

2) Introduce a dependency to libiconv and use its iconvlist() function
directly. This function takes a callback as a parameter and calls it for each
of the available encodings. Introducing this dependency doesn't necessarily
mean much extra trouble, as
http://library.gnome.org/devel/glib/stable/glib-building.html#dependencies
lists libiconv as a dependency of glib on many platforms.

Any other suggestions? Is it acceptable to introduce the libiconv dependency in
the --with-unicode-backend=glib case?


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