xmlproc returning all strings as unicode?

E

Ellinghaus, Lance

Is there a way to make xmlproc not return all strings as unicode?
I am passing in standard ASCII and it returns all data as unicode...

Or is there an easy way to convert unicode to standard ASCII?

lance

Lance Ellinghaus
EDS - TWAI Operations
Phone: 214-922-5454
Cell: 940-597-4755
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Is there a way to make xmlproc not return all strings as unicode?
I am passing in standard ASCII and it returns all data as unicode...

All XML API is defined to be based on Unicode, by W3C. Don't use
XML if you don't want Unicode.
Or is there an easy way to convert unicode to standard ASCII?

Invoke .encode("ascii") on the strings you get.

Regards,
Martin
 

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

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top