Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-doc
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
> http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml
> 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?Â
> </a></p>
> You can see this result yourself pointing to my machine
> http://tosh.dyndns.biz/~fprosper/Gentoo/alsa-guide.html
>
> 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
Server: Apache
Last-Modified: Wed, 05 Oct 2005 08:38:49 GMT
ETag: "d4e7b-bfad-bcc3b840"
Accept-Ranges: bytes
Content-Length: 49069
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
guide.xsl :)
Hth,
--
/ Xavier Neys
\_ Gentoo Documentation Project
/ French & Internationalisation Lead
\ http://www.gentoo.org/doc/en
/\
--
gentoo-doc@g.o mailing list
|
|