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

Re: SV: Encoding problem.

Subject: Re: SV: Encoding problem.
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 16 Aug 2002 15:56:35 +0100
msxml2 encoding problem
Hi Søren,

> The xml document is in "UTF-8" - does that present a problem?

No, that should be fine (as long as the encoding specified in the XML
declaration and the encoding in which the document is saved are the
same).

Another possibility, then, is that you're invoking MSXML through a
script or some such and storing the result as a string before writing
it to the page. When you store an XML document in a string, MSXML
always stores it as UTF-16, whatever encoding you might have intended
it to be in. If you're invoking the transformation from a script, you
should store the output in an object, which you then serialise to the
browser in whatever way is appropriate to that object.

I'm also a bit concerned about what you mean when you say "I don't get
any of my danish letters transformed". Do you mean that they appear
incorrectly, or that they don't appear at all? Perhaps there's
something else wrong with your stylesheet and the encoding isn't the
issue?

If neither of those lines of enquiry pay off, feel free to send me
(offlist) your stylesheet and source document and I'll see whether I
can find anything that makes it work.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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.