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

RE: International Characters in attributes

Subject: RE: International Characters in attributes
From: Jo Bourne <venus@xxxxxxxxx>
Date: Sat, 10 Feb 2001 14:01:57 +1100
jo bourne
Hi,

I don't really understand enough about encoding to be sure that this info is pertinent to the question at hand, but we have had problems with the encoding set in our documents effecting what was displayed in the browser. We are currently using cocoon 1.8 (with xalan) using the one of the built in output formatters (formatter.type.text/html/loose  = org.apache.cocoon.formatter.HTMLFormatter). This formatter was by default setting encoding to UTF-8 in the headers of our output html and we found that this caused a number of very strange problems with Netscape on a Macintosh. Fonts would not display correctly and any forms submitted from a page with this encoding would have strange special characters randomly added to the end, in particular data entered into textarea fields.

I assume this is a bug in netscape for mac, but never the less it was a situation where encoding was directly effecting what was being displayed in the browser.

cheers
Jo

>Two points. Firstly, the encoding only affects what happens when you "view
>source" on the HTML, it doesn't affect what is displayed by the browser.
>Secondly, Xalan (at v2) uses the TrAX API, which allows you to set output
>properties such as encoding from the application (using setOutputProperty()
>on the Transformer object). This gets round the fact that the encoding
>specified in xsl:output must be a constant.
>
>Mike Kay
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
Jo Bourne
Virtual Artists Pty Ltd

 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.