XML encoding problem

N

Nutshell

Hi!

I am using Xerces 2.2.0 for C++ as XML parser and I have problems when
transcoding central european signs to unicode, that is I get strange signs
in the XML output file and not the ones I want there to be.

Default encoding type for XML document is UTF-8.

To transcode chars to unicode I use
XMLString::transcode(someData).unicodeForm().

I would appreciate any help on this, if someone has experience with this
issue.

Thnx, in advance.
 
B

Bjoern Hoehrmann

* Nutshell wrote in comp.text.xml:
I am using Xerces 2.2.0 for C++ as XML parser and I have problems when
transcoding central european signs to unicode, that is I get strange signs
in the XML output file and not the ones I want there to be.

Strange signs?
 
A

Andreas Prilop

Nutshell said:
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400

I am using Xerces 2.2.0 for C++ as XML parser and I have problems when
transcoding central european signs to unicode, that is I get strange signs
in the XML output file and not the ones I want there to be.
To transcode chars to unicode I use
XMLString::transcode(someData).unicodeForm().

Perhaps you have some confusion on the input between ISO-8859-2 and
cp1250. Give examples!

BTW:
Your newsreader isn't set-up correctly to send special, non-ASCII
characters. Please choose

Tools > Options > Send
Mail Sending Format > Plain Text Settings > Message format MIME
News Sending Format > Plain Text Settings > Message format MIME
Encode text using: None
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top