Bug #6622 [NEW]: Accent troubles

From: Date: Sun, 29 Jan 2006 20:35:19 +0000
Subject: Bug #6622 [NEW]: Accent troubles
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7475@lists.php.net to get a copy of this message
From: fdelaneau at mac dot com Operating system: Mac OS X Package version: PHP version: 4.3.11 Package: Documentation Bug Type: Bug Bug description: Accent troubles Description: ------------ The French documentation page has a major encoding problem. The original file is encoded in UTF-8 and the page has no correct encoding set. Test script: --------------- You should modify all your pages header like following : Complete the html tag with the xml:lang attribute. Add a meta content-type that describes the used encoding set. In addition in order to getting prepared to a full CSS layout you might also : Suppress the xml declaration that may cause IE to switch to quirksmode. Change the doctype to strict instead of transitional unless you have tags that justify it (also mostly for IE 6). Expected result: ---------------- <!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" xml:lang="fr"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> Actual result: -------------- <?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> -- Edit bug report at http://pear.php.net/bugs/bug.php?id=6622&edit=1 --

« previous php.pear.doc (#7475) next »