Solved

XML Decoding?

Posted on 2010-08-31
9
892 Views
Last Modified: 2012-05-10
Hello,

I parse a XML file I got with curl lib. The xml seems to be encoded. Like & = &
or much harder: afrench é = ée or also Renée.

Is there something to "decode" the xml to a readable text?

Thanks,
Ocrana
0
Comment
Question by:Ocrana
  • 3
  • 2
9 Comments
 
LVL 35

Expert Comment

by:mccarl
ID: 33572733
If you use a standard way of processing XML (such as SAX or DOM methods) those encodings will be converted for you. Which method that you use would depend on the requirements of how you want to process your XML. If you want some more info on the differences between these methods, let us know.
0
 
LVL 22

Accepted Solution

by:
ambience earned 500 total points
ID: 33574450
0
 
LVL 22

Expert Comment

by:ambience
ID: 33574961
hmmm ... interesting
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:Ocrana
ID: 33575548
Wow....and another web services becomes a own country with own laws. So if the solution is on a competitors site, in fact there is no solution. Veryh andy statement.
0
 
LVL 22

Expert Comment

by:ambience
ID: 33575622
I think its safe enough if I ask you to google for "decode html entities in c c++" and check the first few results. There is a solution on EE as well.
0
 

Author Closing Comment

by:Ocrana
ID: 33762420
found it
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 16
What does != "" mean in programming 8 76
TSQL Query Into Specific XML Format w/ Multiple Groupings 6 33
Vector, list Questions R 6 31
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question