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

SV: output encoding problem (can't get UTF-8)

Subject: SV: output encoding problem (can't get UTF-8)
From: "Gabriel K" <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Fri, 5 Aug 2005 19:15:24 +0200
asp xml utf 8
The ASP file is:
http://gabbah.no-ip.org/mirakel/default.asp.txt

I sometimes read the XML file from disk statically, but most of the time it
comes from a COM-object.

Basically it's:

set o = Server.CreateObject("MwebbCOM.MwebbCOM.1")
domXML.loadXML(o.Document)

And that's the XML file you get, the one I reffered to below.

/Gabriel

> -----Ursprungligt meddelande-----
> Fren: Joe Fawcett [mailto:joefawcett@xxxxxxxxxxx]
> Skickat: den 5 augusti 2005 19:08
> Till: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Dmne: Re:  output encoding problem (can't get UTF-8)
>
> ----- Original Message -----
> From: "Gabriel K" <gabriel.klappenbach@xxxxxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, August 05, 2005 6:02 PM
> Subject: SV:  output encoding problem (can't get UTF-8)
>
>
> Yes, I just found a page explaining that, and using it like you specified
> now it outputs UTF-8 correctly, with the charset attribute in the META tag
> set to UTF-8 as well.
>
> Now I have a follow up question. I get an UTF-8 encoded XML document that
> I
> load into a DOM object and then transform (the "domXML" below).
> The xml is this:
> http://gabbah.no-
> ip.org/mirakel/default.asp?ctype=STP&cdoc=object&cnMaxRows=
> 10&cnBookmark=H2856&cpKNP=*&transform=no
>
> So everything looks fine, the XML is UTF-8, the transformation outputs
> UTF-8. BUT, the characters E D V in the xml-file are encoded and I can't
> get
> them to look correct no matter what encoding I choose in the browser.
> I don't understand why this is happening in the transformation! I mean if
> everything is UTF-8 it should work fine right?
>
> The result is this:
> http://gabbah.no-
> ip.org/mirakel/default.asp?ctype=KSP&cdoc=searchList&cpKNP=
> *%C3%85*&cpADR=&cpSTN=&cnMaxRows=10
>
>
> Any hints on what's happening?
>
> /Gabriel
>
>
> Can you show how you load the documents etc?
>
> Joe

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.