[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] how to get an NCR in the output?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Sun, 5 Jan 2003 14:24:29 +0100

Tobias,

AFAIK, the default for content type "text/html" *is* ISO-8859-1. So not
specifying it in the HTTP header will not work.

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tobias Reif
> Sent: Sunday, January 05, 2003 2:17 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] how to get an NCR in the output?
>
>
> 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
>


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



Current Thread
Keywords
xml