[Bug 919195] [NEW] Special chars in UTF-8 are only rendered correctly if document ends with .xhtml

Jendrik Seipp jendrikseipp at web.de
Fri Jan 20 13:26:16 UTC 2012


Public bug reported:

The following UTF-8 document is rendered correctly in Firefox 9.0.1
safe-mode if the filename ends with .xhtml, but not if it ends with
.html:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>Les garçons sont à l'école.</p>
</body></html>

Chromium 15 renders both versions correctly, i.e. special chars are
correctly displayed.

Correct: Les garçons sont à l'école.
Incorrect: Les garçons sont à l'école.

Attached are the two versions (.html and .xhtml) of the document.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 9.0.1+build1-0ubuntu0.11.10.2
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: fglrx
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  jendrik    1953 F.... pulseaudio
 /dev/snd/controlC0:  jendrik    1953 F.... pulseaudio
BuildID: 20111228084940
CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfbcf8000 irq 43'
   Mixer name	: 'Realtek ALC1200'
   Components	: 'HDA:10ec0888,102802c9,00100101'
   Controls      : 38
   Simple ctrls  : 21
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfbefc000 irq 44'
   Mixer name	: 'ATI R6xx HDMI'
   Components	: 'HDA:1002aa01,00aa0100,00100000'
   Controls      : 4
   Simple ctrls  : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Channel: release
Date: Fri Jan 20 14:01:56 2012
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IpRoute:
 default via 192.168.2.1 dev eth0  proto static 
 169.254.0.0/16 dev eth0  scope link  metric 1000 
 192.168.2.0/24 dev eth0  proto kernel  scope link  src 192.168.2.101  metric 1
IwConfig:
 lo        no wireless extensions.
 
 eth0      no wireless extensions.
Profiles: Profile0 (Default) - LastVersion=9.0.1/20111228084940 (Running)
RfKill:
 
RunningIncompatibleAddons: False
SourcePackage: firefox
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (98 days ago)
WifiSyslog:
 
dmi.bios.date: 12/21/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.1.4
dmi.board.name: 0R849J
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.1.4:bd12/21/2009:svnDellInc.:pnStudioXPS435MT:pvr:rvnDellInc.:rn0R849J:rvrA00:cvnDellInc.:ct3:cvr:
dmi.product.name: Studio XPS 435MT
dmi.sys.vendor: Dell Inc.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric running-unity

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/919195

Title:
  Special chars in UTF-8 are only rendered correctly if document ends
  with .xhtml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/919195/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list