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

Re: problem with #&233; characters and such in URL

javascript utf 8
[Rick Jelliffe]

The problem is probably that your XSLT stylesheet is writing out UTF-8 while
browser is reading in those bytes as ISO8859-1.

If your web application only has to cope with ISO8859-1, then the simplest
is to specify that your XSLT processor generates 8859-1 rather than UTF-8,
xslt:output IIRC.

If you want to cope with more characters using UTF-8,  look at the following
    * make sure that the HTML code you generate has a meta tag which labels
charset (the encoding) you are using (HTML defaults to 8859-1)

[Tom P]
And if you are importing javascript, state the character encoding that the
script will be in the <script> opening tag:

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

This gives you a chance to adust in case the script was created (perhaps by
xslt) with a different encoding from the main page or the browser default.


Tom P


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.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.