Bug#408220: iceape-browser: Composer declares wrong encoding

Braun Gábor braung at renyi.hu
Wed Jan 24 11:12:40 CET 2007


Package: iceape-browser
Version: 1.0.7-2
Severity: important

*** Please type your report below this line ***

Expectation: Composer declares the encoding in HTML files in which it is 
saved.

Rationale: Doing otherwise is misleading and will cause misinterpretation of 
the HTML file.


Example that this is not the case:

I start Iceape.  The SeaMonkey page appears.  On the left corner I click on 
the 
composer icon.  A Composer window appears.  I type the euro symbol and see it 
appearing.  Then I select File -> "Save and Change Character Encoding".  A 
dialog appears. I enter "Euro" (without quotes) for the title and select 
"Unicode (UTF-8)" for the character encoding (which is preselected, by the 
way).  I click on "OK". A GTK file saving dialog appears.  I select the 
directory to save the file and set "Euro.html" for the file name.  I click on 
the save icon.

The Euro.html is really created.  It is really an UTF-8 file (checked by 
isutf8) consisting of the following sequence of characters:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>Euro</title>
</head>
<body>
€
</body>
</html>

The problem: the encoding declared in the file is ISO-8859-1 while the 
file itself is UTF-8.

If I open Euro.html in Navigator, garbage is displayed (as expected due to the 
wrong encoding declared).

I think tis bug is important because users of Composer knowing nothing of HTML
will not understand why their pages become garbage in browsers.  
Note that Composer exlicitly claims to require no knowledge of HTML.

Best wishes,

	Gábor Braun


-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (990, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)

Versions of packages iceape-browser depends on:
ii  libatk1.0-0            1.12.4-1          The ATK accessibility toolkit
ii  libc6                  2.3.6.ds1-8       GNU C Library: Shared libraries
ii  libcairo2              1.2.4-4           The Cairo 2D vector graphics 
libra
ii  libfontconfig1         2.4.1-2           generic font configuration 
library
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libglib2.0-0           2.12.4-2          The GLib library of C routines
ii  libgtk2.0-0            2.8.20-3          The GTK+ graphical user interface 
ii  libjpeg62              6b-10             The Independent JPEG Group's JPEG 
ii  libmyspell3c2          1:3.1-18          MySpell spellchecking library
ii  libpango1.0-0          1.14.8-4          Layout and rendering of 
internatio
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-4         X11 client-side library
ii  libxcursor1            1.1.3-1           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension 
librar
ii  libxfixes3             1:4.0.1-5         X11 miscellaneous 'fixes' 
extensio
ii  libxft2                2.1.7-1           FreeType-based font drawing 
librar
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client 
libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

Versions of packages iceape-browser recommends:
ii  iceape-gnome-support          1.0.7-2    Gnome support for the Iceape 
Inter

-- no debconf information




More information about the pkg-mozilla-maintainers mailing list