Gentoo Archives: gentoo-doc

From: Fabrizio Prosperi <fprosper@×××××××××.it>
To: gentoo-doc@l.g.o
Subject: Re: [gentoo-doc] Strange pipe char after xsltproc
Date: Wed, 05 Oct 2005 11:06:34
Message-Id: 20051005110534.GA11085@tosh.dyndns.biz
In Reply to: Re: [gentoo-doc] Strange pipe char after xsltproc by Xavier Neys
Thanks you couldn't be clearer!
> Fix your web server config, or use the current xsl instead of that Jurassic > guide.xsl :)
If I want to follow your second advice do you mean should substitute guide.xsl with actual 1.164 revision? THx a lot. On Wed, Oct 05, 2005 at 11:30:16AM +0200, Xavier Neys wrote:
> 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 &#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 > \ http://www.gentoo.org/doc/en > /\ > > > -- > gentoo-doc@g.o mailing list > >
-- gentoo-doc@g.o mailing list