[Simple-support] Encoding of characters
Brought to you by:
niallg
|
From: Timo R. <cr...@ol...> - 2008-02-04 11:17:15
|
Hello,
I love to use the Simple XML Framework, it makes things so much easier
for me.
I have a question regarding character encoding. I have this XML file:
--------
<?xml version="1.0" encoding="UTF-8"?>
<navigationBarModel>
<node text="sampletext"/>
</navigationBarModel>
--------
I can deserialize it without problems. But when the text attribute of
the "node" tag is set to a text with a character other than in the
ASCII set, e.g. "another character: Ä" (Ä is the german umlaut for the
character A), the deserialization of the text attibute is not correct.
The text-string contains something like
"another character: Ã"
How can I use characters from the Unicode encoding in my xml
tags/attributes?
Thanks a lot for your help!
Regards,
Timo Rumland
|