473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

XML encoding problem

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.
Jul 20 '05 #1
2 2532
* 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?
Jul 20 '05 #2
"Nutshell" <so*****@yahoo.com> wrote:
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

--
Top posting.
What's the most irritating thing on Usenet?
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: CMan | last post by:
Hi, I am reading a text file using a StreamReader in C# but the reader is unable to handle some of the characheters. Using the default encoding the program cannot handle accented characters. I...
8
by: Demon News | last post by:
I'm trying to do a transform (Using XmlTransform class in c#) and in the Transform I'm specifying the the output xsl below: <xsl:output method="xml" encoding="UTF-8" indent="no"/> the...
3
by: David Taylor | last post by:
In .net I am using a HttpWebRequest to read from a WebSite. I am getting everything back except for some characters above hex 7F which appear to have been stripped out of my response. I see these...
2
by: WEIWEIWEI | last post by:
Hi Al I'd like to encode a string submitted from a utf-8 form in a aspx page to big5 Any ideas on how to do that I try sth like public static string unicode_big5(string src) { Encoding big5...
2
by: Alex Maghen | last post by:
I have created the world's simplest Code-Behind ASPX page in VS 2005. I've used all the defaults. But when I go to build and run the page, it comes up in Chinese (or some Asian character set). I've...
4
by: flyingco | last post by:
URL decoding/encoding problem Iif the url contains chinese char,the url will be encoded. For example : url:http://194.0.0.84/ÖÐÎÄÒ³Ãæ.htm when my tdi driver intercept the packet, I find that...
0
by: Serdar Irmak | last post by:
Hello, I've an encoding problem with asp.net 2.0 pages, it only effects to the input elements of forms that the client submitted, all other page content can be displayed normally including...
5
by: bagelman | last post by:
Hello, I've an encoding problem with asp.net 2.0 pages, it only effects to the content of textBox elements. When user press Submit button and page become postback the strings in textBox become...
8
by: lisa1987i | last post by:
I am really having trouble with encoding characters. The application I am creating i based on a NNTP component from Smilla smilla.ru My propblem is when I read a string which contain special...
2
by: David Gillen | last post by:
Hello. I've a problem (which I believe is a character encoding problem) where I retrieve data from a MSSQL database and euro and pound sign symbols appear as ? when a do a print_r of the rows...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.