1 |
Thanks you couldn't be clearer! |
2 |
> Fix your web server config, or use the current xsl instead of that Jurassic |
3 |
> guide.xsl :) |
4 |
If I want to follow your second advice |
5 |
do you mean should substitute guide.xsl with actual 1.164 revision? |
6 |
|
7 |
THx a lot. |
8 |
|
9 |
On Wed, Oct 05, 2005 at 11:30:16AM +0200, Xavier Neys wrote: |
10 |
> Fabrizio Prosperi wrote: |
11 |
> >Hi all, |
12 |
> > |
13 |
> >I am a new italian translator, and I have this strange behaviour of |
14 |
> >xsltproc when I try to convert to html the XML files of a manual. |
15 |
> >I followed the instructions of the |
16 |
> >http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml |
17 |
> >but when I run |
18 |
> >xsltproc --novalid test/guide.xsl alsa-guide.xml > test/alsa-guide.html |
19 |
> >I get a strange pipe char in the html file which then turns in an ?? |
20 |
> >i.e. <p class="secthead"><a name="doc_chap1_sect1">What is ALSA??? |
21 |
> ></a></p> |
22 |
> >You can see this result yourself pointing to my machine |
23 |
> >http://tosh.dyndns.biz/~fprosper/Gentoo/alsa-guide.html |
24 |
> > |
25 |
> >I guess it has something to do with encoding or charset, but I recoded |
26 |
> >to UTF-8 and this didn't solve it. |
27 |
> |
28 |
> |
29 |
> $ curl -I /dev/null http://tosh.dyndns.biz/~fprosper/Gentoo/alsa-guide.html |
30 |
> |
31 |
> HTTP/1.1 200 OK |
32 |
> Date: Wed, 05 Oct 2005 09:00:03 GMT |
33 |
> Server: Apache |
34 |
> Last-Modified: Wed, 05 Oct 2005 08:38:49 GMT |
35 |
> ETag: "d4e7b-bfad-bcc3b840" |
36 |
> Accept-Ranges: bytes |
37 |
> Content-Length: 49069 |
38 |
> Content-Type: text/html; charset=ISO-8859-1 |
39 |
> |
40 |
> |
41 |
> Your file *is* utf-8 but your web server says it is ISO-8859-1, so your |
42 |
> browser shows char   as '?? ' instead of a non-breakable space. |
43 |
> Switch encoding to utf-8 in your browser and you'll see. |
44 |
> |
45 |
> Fix your web server config, or use the current xsl instead of that Jurassic |
46 |
> guide.xsl :) |
47 |
> |
48 |
> |
49 |
> Hth, |
50 |
> -- |
51 |
> / Xavier Neys |
52 |
> \_ Gentoo Documentation Project |
53 |
> / French & Internationalisation Lead |
54 |
> \ http://www.gentoo.org/doc/en |
55 |
> /\ |
56 |
> |
57 |
> |
58 |
> -- |
59 |
> gentoo-doc@g.o mailing list |
60 |
> |
61 |
> |
62 |
|
63 |
-- |
64 |
gentoo-doc@g.o mailing list |