Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350252 - www-client/chromium-9.0.597.19 has issues with XML not encoded in UTF-8
Summary: www-client/chromium-9.0.597.19 has issues with XML not encoded in UTF-8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Chromium Project
URL:
Whiteboard: ht-wanted
Keywords:
Depends on: 352961
Blocks:
  Show dependency tree
 
Reported: 2010-12-31 19:40 UTC by Krzysztof Pawlik (RETIRED)
Modified: 2011-02-13 11:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-31 19:40:30 UTC
www-client/chromium-9.0.597.19 has issues loading XML that's not encoded in UTF-8. For example loading http://fun.noshit.pl/rss.xml fails:

"This page contains the following errors:

error on line 1 at column 40: Unsupported encoding ISO-8859-2

Below is a rendering of the page up to the first error."

phajdan.jr suspects that's related to using system libxml2 and/or linxslt. This of course needs further investigation to nail the exact cause.
Comment 1 Mike Gilbert gentoo-dev 2010-12-31 20:09:47 UTC
Found a couple of bugs upstream:

http://code.google.com/p/chromium/issues/detail?id=28748

http://code.google.com/p/chromium/issues/detail?id=43368

The second was reported by fkhp, who I've seen reporting bugs here ass well.
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-31 20:14:44 UTC
Yes - both reports are for exactly this issue.
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-01-02 12:06:12 UTC
chromium (at least version 9*) bundles the same libxml2 version -- 2.7.7. However there are two differences:
 - chromium bundles version that is patched to use ICU instead of iconv
 - chromium builds libxml2 with --without-iconv

I've tested this with:
 EXTRA_ECONF="--without-iconv" emerge -av1 libxml2

And after restarting chromium viola - everything seems to be loading correctly, everything is displayed correctly too. It would be awesome if we could get the libxml2 ICU support patches applied upstream and released with next libxml2 (2.7.8?), then chromium could depend on dev-libs/libxml2[icu] which would pass `--with-icu --without-iconv'.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-01-02 12:23:54 UTC
Adding Gnome team to get their input about libxml2 patches/changes.

Question: what will be the effect of disabling iconv for libxml2 globally?
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-02 12:37:24 UTC
According to http://xmlsoft.org/news.html there is libxml2-2.7.8 with some ICU-related changes contributed by our Debian friends. It'd be interesting to check that.
Comment 6 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-01-02 12:40:59 UTC
According to bug report (Gnome bugzilla bug #480323) it's at least partially Chromium related. So we should be able to depend on >=dev-libs/libxml2[icu] soon.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-11 18:09:37 UTC
We now have libxml2 with icu in IUSE, so depending on libxml2[icu] should be possible now. I will do some tests.
Comment 8 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-02-12 08:37:06 UTC
dev-libs/libxml2-2.7.8[icu] seems to be working fine so far:

[ebuild   R   ] dev-libs/libxml2-2.7.8  USE="icu ipv6 python readline -debug -doc -examples -test" 0 kB
[ebuild   R   ] www-client/chromium-9.0.597.94  USE="cups gecko-mediaplayer -gnome -gnome-keyring -system-sqlite (-system-v8)" 0 kB
Comment 9 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-02-13 11:45:55 UTC
Fixed. Thanks for very helpful comments and reporting this issue!