[libvirt] [PATCH] Make 'Miloslav Trmac' and 'Guido Guenther' display correctly
Daniel Veillard
veillard at redhat.com
Tue Dec 8 14:32:36 UTC 2009
On Sun, Nov 22, 2009 at 08:39:40PM +0100, Matthias Bolte wrote:
> ---
> docs/news.html.in | 132 ++++++++++++++++++++++++++--------------------------
> 1 files changed, 66 insertions(+), 66 deletions(-)
Hum ...
> diff --git a/docs/news.html.in b/docs/news.html.in
> index 83f0461..47d7f42 100644
> --- a/docs/news.html.in
> +++ b/docs/news.html.in
> @@ -36,7 +36,7 @@ and check the <a href="ChangeLog.html">ChangeLog</a> to gauge progress.</p>
> qemu-kvm needs -enable-kvm flag for VT optimization (Steve Yarmie)
> fix deprecated iptables command syntax (Steve Yarmie)
> Ensure driver lock is released when entering QEMU monitor (Daniel P. Berrange)
> - only remove masquerade roles for VIR_NETWORK_FORWARD_NAT (Guido Günther)
> + only remove masquerade roles for VIR_NETWORK_FORWARD_NAT (Guido Günther)
rather than painfully change all non-ascii character to the equivalent
HTML entity (when it exists) which puts a burden on maintainance, I
suggest to instead change all stylesheets (remember the HTML pages are
generated) to force all output to UTF-8 encoding which is the only way
to for example render properly western and eastern european accents
in a single encoding (plus any other character in use on the planet
-well nearly !).
So I instead suggest the following, this also work because I asked
Apache on libvirt.org to not emit any encoding http header ...
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
-------------- next part --------------
diff --git a/docs/ChangeLog.xsl b/docs/ChangeLog.xsl
index 0b7cf56..f2c6816 100644
--- a/docs/ChangeLog.xsl
+++ b/docs/ChangeLog.xsl
@@ -4,7 +4,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- Generate XHTML-1.0 transitional -->
- <xsl:output method="xml" encoding="ISO-8859-1" indent="yes"
+ <xsl:output method="xml" encoding="UTF-8" indent="yes"
doctype-public="-//W3C//DTD XHTML 1.0//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index 5d1cba4..b59674a 100644
--- a/docs/newapi.xsl
+++ b/docs/newapi.xsl
@@ -16,7 +16,7 @@
<xsl:import href="page.xsl"/>
<!-- Generate XHTML-1.0 transitional -->
- <xsl:output method="xml" encoding="ISO-8859-1" indent="yes"
+ <xsl:output method="xml" encoding="UTF-8" indent="yes"
doctype-public="-//W3C//DTD XHTML 1.0//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
@@ -573,7 +573,7 @@
<xsl:document
href="{concat($htmldir, '/index.html')}"
method="xml"
- encoding="ISO-8859-1"
+ encoding="UTF-8"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<xsl:apply-templates select="exsl:node-set($mainpage)" mode="page">
@@ -589,7 +589,7 @@
<xsl:document
href="{concat($htmldir, '/libvirt-', @name, '.html')}"
method="xml"
- encoding="ISO-8859-1"
+ encoding="UTF-8"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<xsl:apply-templates select="exsl:node-set($subpage)" mode="page">
diff --git a/docs/site.xsl b/docs/site.xsl
index 86cfd41..a6801e6 100644
--- a/docs/site.xsl
+++ b/docs/site.xsl
@@ -9,7 +9,7 @@
<xsl:output
method="xml"
- encoding="ISO-8859-1"
+ encoding="UTF-8"
indent="yes"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
More information about the libvir-list
mailing list