List Archive: gentoo-doc
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
Fabrizio Prosperi wrote:
> Hi all,
> I am a new italian translator, and I have this strange behaviour of
> xsltproc when I try to convert to html the XML files of a manual.
> I followed the instructions of the
> but when I run
> xsltproc --novalid test/guide.xsl alsa-guide.xml > test/alsa-guide.html
> I get a strange pipe char in the html file which then turns in an Â
> i.e. <p class="secthead"><a name="doc_chap1_sect1">What is ALSA?Â
> You can see this result yourself pointing to my machine
> I guess it has something to do with encoding or charset, but I recoded
> to UTF-8 and this didn't solve it.
$ curl -I /dev/null http://tosh.dyndns.biz/~fprosper/Gentoo/alsa-guide.html
HTTP/1.1 200 OK
Date: Wed, 05 Oct 2005 09:00:03 GMT
Last-Modified: Wed, 05 Oct 2005 08:38:49 GMT
Content-Type: text/html; charset=ISO-8859-1
Your file *is* utf-8 but your web server says it is ISO-8859-1, so your
browser shows char   as 'Â ' instead of a non-breakable space.
Switch encoding to utf-8 in your browser and you'll see.
Fix your web server config, or use the current xsl instead of that Jurassic
/ Xavier Neys
\_ Gentoo Documentation Project
/ French & Internationalisation Lead
email@example.com mailing list