[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: how to get an NCR in the output?

Subject: RE: how to get an NCR in the output?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Sun, 5 Jan 2003 14:24:29 +0100
ncr header
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.