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

Re: XSL and international characters

Subject: Re: [xsl] XSL and international characters
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Tue, 4 Dec 2001 12:37:14 -0000
xsl aring
Hello Marcin,

> I use Cocoon 2 for XSLT transformations (Tomcat 4.0.1 glued to Apache
using
> mod_webapp). These are very simple transformations producing HTML output.
I
> pass some parameters in the QUERY STRING to the XSL. Those parameters
contain
> international (polish) characters, somewhere during the transformation
those
> charcters are converted into some rubbish. For example polish character
> %C5%82 is transformed into &Aring;&#130; i.e., each byte of the two-byte
> value is treated separetely.

it could be a few things

first off u are passing urlencoded data via the query string, which in my
experience can have some rather different results with different parsers,
being unfamiliar with apache XSLT processor i would suggest passing this
data raw and if possible i would post with hidden form fields and a
javascript document.form.submit(); instead of pushing it along the URL.

2nd off the rubbish that is coming back are entities that represent your
character, i am not sure if its rubbish or not, because i need to see the
original polish chars.

3rd, probably is the most likely reason

<xsl:output method=""html" encoding="utf-8" />

which will force your transform to correctly output the character set you
require ?

good luck, jim fuller



 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.