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

Encoding issue

Subject: Encoding issue
From: "Jason Macki" <jmacki@xxxxxxx>
Date: Mon, 13 Aug 2001 16:31:18 -0500
encoding issue
Hello, 

I'm running an application that reads from a text file to generate an
XML document which is then transformed into another XML document, using
MSXML 3.0.  As the input file is processed, the first XML document is
generated dynamically, then it is transformed into a new document with a
stylesheet.  The result is then saved to a text file using the "save"
method of the DOMDocument object.

When I look at the resulting document, I get different results with
different applications:

In Notepad, a line shows up like this:
	<value><![CDATA[ sustainable consumption by Gábor
Náray-Szabó]]></value>

However, in Visual Interdev, the accented characters are displayed as
gibberish: 
	<value><![CDATA[ sustainable consumption by Gábor Náray-Szabó
]]></value>

When I use another application to transform this document, an error
occurs because the line in question contains invalid characters, and the
"parseerror.srcText" method displays "sustainable consumption by G?bor
N?ray-Szab?".

I'm fairly certain that this is an encoding issue, but I'm not sure
where I should go from here.  All of the stylesheets for my
transformations use the default encoding method.

Does anyone have any ideas?

Thanks, 
Jason


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Encoding issue
    • Jason Macki - Mon, 13 Aug 2001 17:34:46 -0400 (EDT) <=
      • Mike Brown - Tue, 14 Aug 2001 00:32:24 -0400 (EDT)
      • <Possible follow-ups>
      • Jason Macki - Tue, 14 Aug 2001 12:20:25 -0400 (EDT)

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.