When I try to write UTF-8 Strings into an XML file using DomDocument it actually writes the hexadecimal notation of the string instead of the string itself.
for exam
When I created the DomDocument for writing, i added the following parameters:
dom = new DOMDocument('1.0','utf-8');
these parameters caused the UTF-8 string to be written as is.