Bug#719481: iceweasel: character encoding Universal auto-detect fails on UTF-8 text file (regarded as TIS-620)

Vincent Lefevre vincent at vinc17.net
Mon Aug 12 10:10:22 UTC 2013


Package: iceweasel
Version: 23.0-1
Severity: normal
Tags: upstream
Forwarded: https://bugzilla.mozilla.org/show_bug.cgi?id=760050

Not all valid UTF-8 encoded text files are regarded as UTF-8 when a
charset isn't provided and Character Encoding Auto-Detect is set to
Universal (in the View menu). In particular, this happens on files
containing only ASCII and "§" characters (this happens in some files
written in English, "§" denoting a section); such files are regarded
as being encoded in TIS-620.

Since UTF-8 is regarded as the universal encoding nowadays, it should
be preferred to any other encoding (when this is valid).

Testcases:
  https://www.vinc17.net/test/mozbug-760050.txt
  https://bug760050.bugzilla.mozilla.org/attachment.cgi?id=628670

There also seems to be an agreement that UTF-8 should be preferred
more generally for Debian:

  http://lists.debian.org/debian-devel/2013/08/msg00217.html

-- Package-specific info:

-- Extensions information
Name: -Global Styles- userstyle
Status: enabled

Name: Adblock Plus
Location: ${PROFILE_EXTENSIONS}/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi
Status: enabled

Name: Add-on Compatibility Reporter
Location: ${PROFILE_EXTENSIONS}/compatibility at addons.mozilla.org.xpi
Status: enabled

Name: AlloCiné userstyle
Status: enabled

Name: Bamboo Feed Reader
Location: ${PROFILE_EXTENSIONS}/{b2e69492-2358-071a-7056-24ad0c3defb1}
Status: enabled

Name: Cinémathèque Française userstyle
Status: enabled

Name: Combine Stop/Reload buttons userstyle
Status: enabled

Name: DOM Inspector
Location: ${PROFILE_EXTENSIONS}/inspector at mozilla.org
Status: enabled

Name: Default theme
Location: /usr/lib/iceweasel/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
Package: iceweasel
Status: enabled

Name: Dictionnaire français «Moderne»
Location: ${PROFILE_EXTENSIONS}/fr-moderne at dictionaries.addons.mozilla.org
Status: enabled

Name: Different cursor for links that open in new windows userstyle
Status: enabled

Name: Disable autocomplete userstyle
Status: user-disabled

Name: Disable marquee userstyle
Status: user-disabled

Name: DownloadHelper
Location: ${PROFILE_EXTENSIONS}/{b9db16a4-6edc-47ec-a1f4-b86292ed211d}
Status: enabled

Name: Firebug
Location: ${PROFILE_EXTENSIONS}/firebug at software.joehewitt.com.xpi
Status: enabled

Name: Flagfox
Location: ${PROFILE_EXTENSIONS}/{1018e4d6-728f-4b20-ad56-37578a4de76b}
Status: enabled

Name: Flashblock
Location: ${PROFILE_EXTENSIONS}/{3d7eb24f-2740-49df-8937-200b1cc08f8a}
Status: enabled

Name: Font Finder
Location: ${PROFILE_EXTENSIONS}/fontfinder at bendodson.com.xpi
Status: enabled

Name: Forecastfox
Location: ${PROFILE_EXTENSIONS}/{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}
Status: enabled

Name: FxIF
Location: ${PROFILE_EXTENSIONS}/{11483926-db67-4190-91b1-ef20fcec5f33}.xpi
Status: enabled

Name: GLPI - assistance.ens-lyon.fr userstyle
Status: enabled

Name: Google Search userstyle
Status: enabled

Name: Greasemonkey
Location: ${PROFILE_EXTENSIONS}/{e4a8a97b-f2ed-450b-b12d-ee082ba24781}.xpi
Status: enabled

Name: HeadingsMap
Location: ${PROFILE_EXTENSIONS}/headings at niquelheadings.net.xpi
Status: enabled

Name: IMDb userstyle
Status: enabled

Name: Link Widgets
Location: ${PROFILE_EXTENSIONS}/linkwidget at clav.mozdev.org
Status: enabled

Name: Live HTTP headers
Location: ${PROFILE_EXTENSIONS}/{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}
Status: enabled

Name: Move tabbar to the bottom userstyle
Status: user-disabled

Name: Move tabbar to the left userstyle
Status: user-disabled

Name: Move tabbar to the right userstyle
Status: user-disabled

Name: Multiple row bookmark toolbar userstyle
Status: user-disabled

Name: Nerim userstyle
Status: enabled

Name: Open in Browser
Location: ${PROFILE_EXTENSIONS}/openinbrowser at www.spasche.net.xpi
Status: enabled

Name: PeopleForCinema userstyle
Status: enabled

Name: Pinger
Location: ${PROFILE_EXTENSIONS}/janetka at pinger.xpi
Status: enabled

Name: QuickWiki
Location: ${PROFILE_EXTENSIONS}/{EE223D7A-F30F-11DD-8F0A-D2AD55D89593}.xpi
Status: enabled

Name: SearchStatus
Location: ${PROFILE_EXTENSIONS}/{d57c9ff1-6389-48fc-b770-f78bd89b6e8a}.xpi
Status: enabled

Name: Showcase
Location: ${PROFILE_EXTENSIONS}/{89506680-e3f4-484c-a2c0-ed711d481eda}.xpi
Status: enabled

Name: Slashdot.org - Remove ads userstyle
Status: enabled

Name: SourceForge font size in comments userstyle
Status: enabled

Name: Stylish
Location: ${PROFILE_EXTENSIONS}/{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}.xpi
Status: enabled

Name: Stylish-Custom
Location: ${PROFILE_EXTENSIONS}/Stylish-Custom at choggi.dyndns.org
Status: enabled

Name: Tab Mix Plus
Location: ${PROFILE_EXTENSIONS}/{dc572301-7619-498c-a57d-39143191b318}.xpi
Status: enabled

Name: TinEye Reverse Image Search
Location: ${PROFILE_EXTENSIONS}/tineye at ideeinc.com
Status: enabled

Name: United States English Spellchecker dictionary
Location: ${PROFILE_EXTENSIONS}/en-US at dictionaries.addons.mozilla.org
Status: enabled

Name: Web Developer
Location: ${PROFILE_EXTENSIONS}/{c45c406e-ab73-11d8-be73-000a95be3b12}.xpi
Status: enabled

Name: Wikipedia font size userstyle
Status: enabled

Name: X-Ray
Location: ${PROFILE_EXTENSIONS}/{3f1182ea-3243-4d32-8826-71fb1cc9c328}
Status: enabled

Name: YesScript
Location: ${PROFILE_EXTENSIONS}/yesscript at userstyles.org.xpi
Status: enabled

Name: allocine-imdb greasemonkey-user-script
Status: enabled

Name: cac-imdb greasemonkey-user-script
Status: enabled

Name: gTranslate
Location: ${PROFILE_EXTENSIONS}/{aff87fa2-a58e-4edd-b852-0a20203c1e17}.xpi
Status: enabled

Name: itt-datetimes greasemonkey-user-script
Status: enabled

Name: twitter-times greasemonkey-user-script
Status: enabled

Name: us-to-iso8601 greasemonkey-user-script
Status: user-disabled

Name: youtube-html5 greasemonkey-user-script
Status: enabled

-- Plugins information
Name: DivX® Web Player
Location: /usr/lib/mozilla/plugins/libtotem-mully-plugin.so
Package: totem-mozilla
Status: enabled

Name: DjView-4.9
Location: /usr/lib/mozilla/plugins/nsdejavu.so
Package: djview-plugin
Status: enabled

Name: Gnome Shell Integration
Location: /usr/lib/mozilla/plugins/libgnome-shell-browser-plugin.so
Package: gnome-shell
Status: enabled

Name: QuickTime Plug-in 7.6.6
Location: /usr/lib/mozilla/plugins/libtotem-narrowspace-plugin.so
Package: totem-mozilla
Status: enabled

Name: Shockwave Flash
Location: /usr/lib/flashplugin-nonfree/libflashplayer.so
Status: enabled

Name: VLC Multimedia Plugin (compatible Totem 3.0.1)
Location: /usr/lib/mozilla/plugins/libtotem-cone-plugin.so
Package: totem-mozilla
Status: enabled

Name: VLC Web Plugin
Location: /usr/lib/mozilla/plugins/libvlcplugin.so
Package: browser-plugin-vlc
Status: enabled

Name: Windows Media Player Plug-in 10 (compatible; Totem)
Location: /usr/lib/mozilla/plugins/libtotem-gmp-plugin.so
Package: totem-mozilla
Status: enabled

Name: gxine starter plugin
Location: /usr/lib/gxine/gxineplugin.so
Package: gxineplugin
Status: enabled


-- Addons package information
ii  browser-plugin 2.0.6-2      amd64        multimedia plugin for web browser
ii  djview-plugin  4.9-3        amd64        Browser plugin for the DjVu image
ii  gnome-shell    3.4.2-11     amd64        graphical shell for the GNOME des
ii  gxineplugin    0.5.907-2    amd64        the xine video player, GTK+/Gnome
ii  iceweasel      23.0-1       amd64        Web browser based on Firefox
ii  totem-mozilla  3.0.1-9      amd64        Totem Mozilla plugin

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iceweasel depends on:
ii  debianutils          4.4
ii  fontconfig           2.10.2-2
ii  libatk1.0-0          2.8.0-2
ii  libc6                2.17-92
ii  libcairo2            1.12.14-5+local1
ii  libfontconfig1       2.10.2-2
ii  libfreetype6         2.4.9-1.1
ii  libgcc1              1:4.8.1-8
ii  libgdk-pixbuf2.0-0   2.28.2-1
ii  libglib2.0-0         2.36.3-4
ii  libgtk2.0-0          2.24.20-1
ii  libnspr4             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-0    1.32.5-5+b1
ii  libsqlite3-0         3.7.17-1
ii  libstdc++6           4.8.1-8
ii  procps               1:3.3.8-2
ii  xulrunner-23.0       23.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             <none>

Versions of packages xulrunner-23.0 depends on:
ii  libasound2                1.0.27.2-1
ii  libatk1.0-0               2.8.0-2
ii  libbz2-1.0                1.0.6-4
ii  libc6                     2.17-92
ii  libcairo2                 1.12.14-5+local1
ii  libdbus-1-3               1.6.12-1
ii  libdbus-glib-1-2          0.100.2-1
ii  libevent-2.0-5            2.0.21-stable-1
ii  libfontconfig1            2.10.2-2
ii  libfreetype6              2.4.9-1.1
ii  libgcc1                   1:4.8.1-8
ii  libgdk-pixbuf2.0-0        2.28.2-1
ii  libglib2.0-0              2.36.3-4
ii  libgtk2.0-0               2.24.20-1
ii  libhunspell-1.3-0         1.3.2-4
ii  libmozjs23d               23.0-1
ii  libnspr4                  2:4.10-1
ii  libnss3                   2:3.15.1-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-0         1.32.5-5+b1
ii  libpixman-1-0             0.30.0-3
ii  libsqlite3-0              3.7.17-1
ii  libstartup-notification0  0.12-3
ii  libstdc++6                4.8.1-8
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  libxt6                    1:1.1.3-1+deb7u1
ii  zlib1g                    1:1.2.8.dfsg-1

Versions of packages xulrunner-23.0 suggests:
ii  libcanberra0  0.30-2
ii  libgnomeui-0  2.24.5-2

-- no debconf information



More information about the pkg-mozilla-maintainers mailing list