Package: lynx-cur
Version: 2.8.8dev.15-2
Severity: normal

In a HTML file, if the UTF-8 encoding is specified only with a meta
line that appears after the title, e.g.

<title>Title with entity (&#233;) and UTF-8 (é)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

in an HTML file (see attachment[*]), then this encoding is not taken
into account for the title. The title appears as:

  Title with entity (é) and UTF-8 (é)

The body is not affected.

Note: The HTML4 spec says "META declarations should appear as early
as possible in the HEAD element." but that's only a "should", and it
seems that there's nothing like that in the current HTML5 draft.

[*] I've used the application/octet-stream MIME type to avoid
automatic charset conversion by Mutt.

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

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

Versions of packages lynx-cur depends on:
ii  libbsd0       0.4.2-1
ii  libbz2-1.0    1.0.6-4
ii  libc6         2.13-38
ii  libgcrypt11   1.5.0-5
ii  libgnutls26   2.12.20-5
ii  libidn11      1.25-2
ii  libncursesw5  5.9-10
ii  libtinfo5     5.9-10
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages lynx-cur recommends:
ii  mime-support  3.52-2

lynx-cur suggests no packages.

-- debconf information:
  lynx-cur/defaulturl: http://www.lip.ens-lyon.fr/
  lynx-cur/etc_lynx.cfg:

Attachment: lynx-title.html
Description: Binary data

Reply via email to