Bug#717729: iceweasel: Fallback Character Encoding doesn't work
Control: found -1 iceweasel/30.0-2 On Wed, 24 Jul 2013 13:34:08 +0200 Carlo Stemberger wrote: [...] > Hi, > I set the Fallback Character Encoding to UTF-8, but decoding doesn't > work properly with this[1] page. No problem by using Chromium. Hello, I am also experiencing this issue. Actually, the situation seems to be even worse with the version currently in Debian testing (iceweasel/30.0-2). I have the following locale settings: $ locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= and I set Fallback Character Encoding to "Default for Current Locale" (in Edit menu, Preferences, Content section, Advanced... dialog window), which I understand should result in UTF-8 for my case! Despite all this, I often see that pages which do not explicitly declare the charset are displayed with "Western" character encoding (I see this in the View menu, Character Encoding submenu). I would instead expect to see them displayed with "Unicode" encoding... One example is the web archive for Debian mailing lists, such as: https://lists.debian.org/debian-security-tracker/2014/07/maillist.html Another example is the following minimal HTML file: $ cat hello.html Hello! Hello → to you! $ iceweasel -new-tab hello.html which is incorrectly displayed with "Western" character encoding. Manually setting "Unicode" encoding (View menu, Character Encoding submenu) makes the arrow show up correctly. Adding XML and DOCTYPE declarations does not seem to help: $ cat hello_strict.html http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> Hello! Hello → to you! $ iceweasel --new-tab hello_strict.html again incorrectly displayed with "Western" character encoding. Adding the Content-Type meta declaration finally makes Iceweasel recognize the actual encoding (UTF-8): $ cat hello_strict_expchar.html http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> Hello! Hello → to you! $ iceweasel --new-tab hello_strict_expchar.html but in this final case, I understand that the fallback mechanism is not used at all (please correct me, if I am wrong). Is there any progress on this bug? Please fix it and/or forward the report upstream. Thanks for your time! Bye. -- http://www.inventati.org/frx/ fsck is a four letter word... . Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE pgpPOZ7xCDFyj.pgp Description: PGP signature
Bug#717729: iceweasel: Fallback Character Encoding doesn't work
Package: iceweasel Version: 22.0-1 Severity: normal Hi, I set the Fallback Character Encoding to UTF-8, but decoding doesn't work properly with this[1] page. No problem by using Chromium. Best regards, Carlo [1] http://coinmap.org/coinmap-data.js -- Package-specific info: -- Extensions information Name: Abduction! Location: ${PROFILE_EXTENSIONS}/{b0e1b4a6-2c6f-4e99-94f2-8e625d7ae255}.xpi Status: enabled Name: Adblock Plus Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d} Package: xul-ext-adblock-plus Status: enabled Name: Default theme Location: /usr/lib/iceweasel/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} Package: iceweasel Status: enabled Name: Italiano (IT) Language Pack locale Location: /usr/lib/iceweasel/browser/extensions/langpack...@iceweasel.mozilla.org.xpi Package: iceweasel-l10n-it Status: enabled -- Plugins information Name: Gnome Shell Integration Location: /usr/lib/mozilla/plugins/libgnome-shell-browser-plugin.so Package: gnome-shell Status: enabled Name: Shockwave Flash Location: /usr/lib/lightspark/liblightsparkplugin.so Package: browser-plugin-lightspark Status: enabled Name: iTunes Application Detector Location: /usr/lib/mozilla/plugins/librhythmbox-itms-detection-plugin.so Package: rhythmbox-plugins Status: enabled -- Addons package information ii browser-plugin 0.7.2-2 amd64High-performance SWF player - Moz ii gnome-shell3.4.2-11 amd64graphical shell for the GNOME des ii iceweasel 22.0-1 amd64Web browser based on Firefox ii iceweasel-l10n 1:22.0-1 all Italian language package for Icew ii rhythmbox-plug 2.99.1-3 amd64plugins for rhythmbox music playe ii xul-ext-adbloc 2.2.3-1 all Advertisement blocking extension -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages iceweasel depends on: ii debianutils 4.3.4 ii fontconfig 2.10.2-2 ii libatk1.0-0 2.8.0-2 ii libc62.17-7 ii libcairo21.12.14-4 ii libfontconfig1 2.10.2-2 ii libfreetype6 2.4.9-1.1 ii libgcc1 1:4.8.1-2 ii libgdk-pixbuf2.0-0 2.28.2-1 ii libglib2.0-0 2.36.3-3 ii libgtk2.0-0 2.24.20-1 ii libnspr4 2:4.10-1 ii libnspr4-0d 2:4.10-1 ii libpango-1.0-0 1.32.5-5+b1 ii libpangocairo-1.0-0 1.32.5-5+b1 ii libpangoft2-1.0-01.32.5-5+b1 ii libsqlite3-0 3.7.17-1 ii libstdc++6 4.8.1-2 ii procps 1:3.3.4-2 ii xulrunner-22.0 22.0-1 iceweasel recommends no packages. Versions of packages iceweasel suggests: ii fonts-stix [otf-stix] 1.1.0-1 ii libgssapi-krb5-2 1.10.1+dfsg-6.1 pn mozplugger Versions of packages xulrunner-22.0 depends on: ii libasound21.0.27.1-2 ii libatk1.0-0 2.8.0-2 ii libbz2-1.01.0.6-4 ii libc6 2.17-7 ii libcairo2 1.12.14-4 ii libdbus-1-3 1.6.12-1 ii libdbus-glib-1-2 0.100.2-1 ii libevent-2.0-52.0.21-stable-1 ii libfontconfig12.10.2-2 ii libfreetype6 2.4.9-1.1 ii libgcc1 1:4.8.1-2 ii libgdk-pixbuf2.0-02.28.2-1 ii libglib2.0-0 2.36.3-3 ii libgtk2.0-0 2.24.20-1 ii libhunspell-1.3-0 1.3.2-4 ii libmozjs22d 22.0-1 ii libnspr4 2:4.10-1 ii libnss3 2:3.15-1 ii libpango-1.0-01.32.5-5+b1 ii libpangocairo-1.0-0 1.32.5-5+b1 ii libpangoft2-1.0-0 1.32.5-5+b1 ii libpixman-1-0 0.26.0-4 ii libsqlite3-0 3.7.17-1 ii libstartup-notification0 0.12-3 ii libstdc++64.8.1-2 ii libvpx1 1.2.0-2 ii libx11-6 2:1.6.0-1 ii libxext6 2:1.3.2-1 ii libxrender1 1:0.9.8-1 ii libxt61:1.1.3-1+deb7u1 ii zlib1g1:1.2.8.dfsg-1 Versions of packages xulrunner-22.0 suggests: ii libcanberra0 0.30-2 ii libgnomeui-0 2.24.5-2 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org