I am trying to write some foreign characters into an xml file but there seems to be a problem encoding some of the characters. I am using UTF-8 for the XML header.
Following characters work fine.
but the following characters œ c a e l n s z z
they gets converted into the following html when writing into the XML.
ć ą ę ł ń ś ź ż
How can I write them in the exact format?