OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] problem with #&233; characters and such in URL

[ Lists Home | Date Index | Thread Index ]

[Rick Jelliffe]

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

If your web application only has to cope with ISO8859-1, then the simplest
thing
is to specify that your XSLT processor generates 8859-1 rather than UTF-8,
using
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
the
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.

Cheers,

Tom P






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS