Re: [xsl] how to get an NCR in the output?

Subject: Re: [xsl] how to get an NCR in the output?
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Sun, 05 Jan 2003 14:17:17 +0100
Julian Reschke wrote:


Right now the only solution is to make sure that really all declarations
match.


I simply had UTF-8 declared in the prolog, no http header charset, no meta tag. Nothing that I specifyed did not match :)

But as you say: The charset defaults to s.th. which is not UTF-8, so this seems to have overridden the XML prolog

<?xml version="1.0" encoding="utf-8"?>

Before (UTF-8 chars got garbled):

ruby poke.rb www.pinkjuice.com /howto/vimxml/chapters/about.xml
www.pinkjuice.com/howto/vimxml/chapters/about.xml
212.227.109.242
Code: 200
Message: OK
-----header-----
content-length: 3575
date: Sun, 05 Jan 2003 13:09:50 GMT
connection: close
content-type: text/html
last-modified: Sun, 05 Jan 2003 10:52:31 GMT
etag: "ba8222-df7-3e180e6f"
server: Apache/1.3.27 (Unix)
accept-ranges: bytes
---header end---

Now (works OK AFAICS):
(everything else is as before: same prolog, no meta tag specifying a charset)


ruby poke.rb www.pinkjuice.com /howto/vimxml/chapters/about.xml
www.pinkjuice.com/howto/vimxml/chapters/about.xml
212.227.109.242
Code: 200
Message: OK
-----header-----
content-length: 3575
date: Sun, 05 Jan 2003 13:10:22 GMT
connection: close
content-type: text/html; charset=utf-8
last-modified: Sun, 05 Jan 2003 10:52:31 GMT
etag: "ba8222-df7-3e180e6f"
server: Apache/1.3.27 (Unix)
accept-ranges: bytes
---header end---


Tobi



--


Vim users               donate.
http://iccf-holland.org/donate.html

Web developers           check.
http://www.pinkjuice.com/check/


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread