[Bug 811932] [NEW] XHTML 1.0 with XML header, charset not correct in Linux FF
Olivier Lefebvre
811932 at bugs.launchpad.net
Sun Jul 17 15:59:37 UTC 2011
Public bug reported:
I have several web pages using header similar to these:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>...</title>
In FF 5 on Linux the é è à and other UTF encoded caracters are not properly displayed client side (the usual garbage...), this issue does not appear with any other browser tested on Linux, Windows and MacOS. Even FF5 on Windows works properly with the same data.
I went the ugly side and added a meta which fixed the issue on Linux
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>...</title>
It seems to be an issue with XHTML 1.0 with XML header on FF5 Linux
only.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: firefox 5.0+build1+nobinonly-0ubuntu0.11.04.2
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: vmblock vsock vmci vmhgfs
Architecture: amd64
Date: Sun Jul 17 08:50:53 2011
FirefoxPackages:
firefox 5.0+build1+nobinonly-0ubuntu0.11.04.2
flashplugin-installer N/A
adobe-flashplugin N/A
icedtea-plugin N/A
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=fr:en_US:en
LANG=en_US.UTF-8
LC_MESSAGES=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: firefox (Ubuntu)
Importance: Undecided
Status: New
** Tags: encoding ff5 linux xhtml
--
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/811932
Title:
XHTML 1.0 with XML header, charset not correct in Linux FF
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/811932/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list