Summary: | Missing meta tag for UTF-8 | ||
---|---|---|---|
Product: | [Websites] www.kde.org | Reporter: | Nicolas Goutte <nicolasg> |
Component: | general | Assignee: | Webmaster <webmaster> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | hausmann |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Nicolas Goutte
2002-07-15 21:25:25 UTC
--------------Boundary-00=_49DCLN880JPNAU8LACCS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit The attached patch is for the file www/koffice/templates/templ_begin.html It declares correctly the UTF-8 encoding according to the HTML compactibility guidelines of XHTML 1.0. Can someone commit it please? Thank you in advance! Reason: non-XHTML-aware HTML user agents like Konqueror/KHTML (at least version 3.0.2) cannot read the XML encoding and therefore do not know in which encoding the file is. So the old HTML way of telling the encoding must be in the file too. (That is KDE Bug #45263. This patch corrects it for the KOffice web site.) Have a nice day/evening/night! --------------Boundary-00=_49DCLN880JPNAU8LACCS Content-Type: text/plain; charset="us-ascii"; name="patch_templ_begin_html.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch_templ_begin_html.txt" --- templ-begin.html.origFri Mar 1 17:45:53 2002 +++ templ-begin.htmlTue Jul 16 14:25:01 2002 @@ -186 +187 @@ <!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="en" lang="en"> <head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $title;?></title> <link rel="stylesheet" href="/koffice.css" type="text/css" /> <script language="javascript" type="text/javascript"> --------------Boundary-00=_49DCLN880JPNAU8LACCS-- This patch is already in the CVS repository, see revision 1.27 of templ_begin.html) Sorry, I missed the word 'all' :) Mhh, the patch has been applied. Are there still single pages where there's no meta tag? If there are, please re-open again :-) The patch has only be applied for KOffice. The other web sites have still the bug, starting with http://www.kde.org for example. (I have not checked the others.) I have just noticed that for www.kde.org it is in ISO-8859-1. So the meta tag is still missing to be correct for HTML-compactible XHTML (but of course not a UTF-8 one.) Curiously http://www.kde.org/mailinglists.html seems to be correct. Sorry, I felt into the silly trap that the web site was not updated from CVS yet. Thank you! |