Special chars in UTF-8 are only rendered correctly if document ends with .xhtml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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://
<html xmlns="http://
<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-
ProcVersionSign
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelMo
AddonCompatChec
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
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,
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,
Controls : 4
Simple ctrls : 1
Card1.Amixer.
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=
RfKill:
RunningIncompat
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.
dmi.product.name: Studio XPS 435MT
dmi.sys.vendor: Dell Inc.