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

Re: Character encoding in MSXML 3.0 from VB

Subject: Re: Character encoding in MSXML 3.0 from VB
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 8 Jan 2001 16:56:38 GMT
vb character encoding
 
   Hi,
	   I have a rather strange problem with MSXML, given the following xml

   <?xml version="1.0"?>
   <mydoc>
	   he said &#145;yes&#146;
   </mydoc>

   I should be able to extract the text, (with the quotes being open and close):
	   he said 'yes'

   however, MSXML insists on returning
	   he said ?yes?



&#145; would specify character number 145 in unicode, but there is no
such character. The quotes may be in position 145 in an encoding used
by your operating system but that is irrelevant here. The file is in
encoding UTF-8 (as you have specified no encoding) and whatever the
encoding of the file, the &# notation always refers to unicode numbers.

The left and right single quotes are 8216 and 8217

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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.