XML with international characters

E

Elmo Watson

I'm trying an example in the ASP.Net unleashed book, using a Treeview and an
XML file
The XML file came from a spit-out (for xml) of a query in the Northwind
database, giving me Categories and Products

The only thing, that when it tries to read the XML nodes with international
characters, it pukes and dies
How can I get around it, so that the XML is readable, using an
XMLDataSource, and then load it into the Treeview, with international
Characters?
 
M

Martin Honnen

Elmo said:
I'm trying an example in the ASP.Net unleashed book, using a Treeview and an
XML file
The XML file came from a spit-out (for xml) of a query in the Northwind
database, giving me Categories and Products

The only thing, that when it tries to read the XML nodes with international
characters, it pukes and dies
How can I get around it, so that the XML is readable, using an
XMLDataSource, and then load it into the Treeview, with international
Characters?

XML supports Unicode so international characters are not a problem if
the XML document is properly encoded (and declares the encoding in the
XML declaration if necessary).
What error exactly do you get? Does IE parse the XML document without
errors? If not then the document is not properly encoded.
How exactly do you create the XML document?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top