[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: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Mon, 6 Jan 2003 11:37:23 -0500
javascript ncr
[ Tobias Reif]

> > Either add
> > <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
> > to the XHTML document, so the browser will interpret the bytes 
> > properly,
> 
> 
> didn't help (NN6)
> 

This will work for actual html files but I think that if the browser
thinks it is getting xml, it does not know what to do with the "meta"
element.

BTW, for those of you who use stylesheets to create javascript code, you
can declare the character encoding for the javascript inside the
<script> opening tag.  It does not have to agree with the default
encoding the browser otherwise uses.  This can take care of many of
those annoying character display-mangling problems.

You do it like this -

<script language='javascript' charset='utf-8'>
//...
</script>

Cheers,

Tom P

 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.