This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] Switch to UTF-8
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 Nov 2012 00:11:25 +0100 (CET)
- Subject: [wwwdocs] Switch to UTF-8
I believe the time has come (and probably was overdue) to switch the
web pages to UTF-8.
Which actually should not require any hanges to contents since we
have been generally using ä instead of ä and so forth.
Applied and htdocs/ on gcc.gnu.org regenerated; spot tests all were
fine (in fact, silenced a warning from validator.w3.org) and I have
a thorough validation run going on (one page every 61s as not to be
blocked by the server).
Gerald
Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.118
diff -u -3 -p -r1.118 style.mhtml
--- style.mhtml 25 Mar 2012 03:17:52 -0000 1.118
+++ style.mhtml 2 Nov 2012 22:51:54 -0000
@@ -32,13 +32,13 @@
<if <var-exists XHTML>
<group
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?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">
>
<group
- <?xml version="1.0" encoding="ISO-8859-1"?>
+ <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
>
@@ -65,13 +65,13 @@
</verbatim>
<if <var-exists XHTML>
<group
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:gcc@gcc.gnu.org" />
<link rel="shortcut icon" href="http://gcc.gnu.org/favicon.ico" />
<link rel="stylesheet" type="text/css" href="http://gcc.gnu.org/gcc.css" />
>
<group
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rev="made" href="mailto:gcc@gcc.gnu.org">
<link rel="shortcut icon" href="http://gcc.gnu.org/favicon.ico">
<link rel="stylesheet" type="text/css" href="/gcc.css">