Gentoo Archives: gentoo-doc

From: Xavier Neys <neysx@g.o>
To: gentoo-doc@l.g.o
Subject: Re: [gentoo-doc] Strange pipe char after xsltproc
Date: Wed, 05 Oct 2005 09:30:55
In Reply to: [gentoo-doc] Strange pipe char after xsltproc by Fabrizio Prosperi
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? > </a></p> > 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/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 &#160; 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 \ /\ -- gentoo-doc@g.o mailing list


Subject Author
Re: [gentoo-doc] Strange pipe char after xsltproc Fabrizio Prosperi <fprosper@×××××××××.it>