Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to handle special characters

Status
Not open for further replies.

pantechno

Programmer
Jan 16, 2006
1
FR
I am a new bee to using XML. The problem is that my XML file contains characters in like ö, è, etc, which are not displayed and converted to squares. Can any one help me with how can I display them correctly.
 
You need to especially code the extended characters. An example.
[tt]
<?xml version="1.0" encoding="utf-8"?>
<root>
<entry>
<author>Descartes, Ren&#233;</author>
<title>Discours de la M&#233;thode</title>
<excerpt>Le bon sens est la chose du monde la mieux partag&#233;e; car chacun pense en &#234;tre si bien pourvu que ceux m&#234;me qui sont les plus difficiles &#224; contenter en toute autre chose n'ont point coutume d'en d&#233;sirer plus qu'ils en ont.</excerpt>
</entry>
</root>
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top