Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc@g.o
From: Xavier Neys <neysx@g.o>
Subject: Re: Strange pipe char after xsltproc
Date: Wed, 05 Oct 2005 11:30:16 +0200
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


Replies:
Re: Strange pipe char after xsltproc
-- Fabrizio Prosperi
References:
Strange pipe char after xsltproc
-- Fabrizio Prosperi
Navigation:
Lists: gentoo-doc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Strange pipe char after xsltproc
Next by thread:
Re: Strange pipe char after xsltproc
Previous by date:
RE: Re: cvs commit: quick-samba-howto.xml
Next by date:
Re: Strange pipe char after xsltproc


Updated Jun 17, 2009

Summary: Archive of the gentoo-doc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.