HTML & CSS
I am generating an XML file of translated terms
The translated terms are held in the database and work fine on the web using UTF8
However when I try and create an XML file I seem to have a problem with the character encoding.
first up, your <root> tag doesn't have a matching end tag.
and there are some </placeholder> closing tags that don't match.
I'd also try add utf-8 as the charset.
your html header is currently
maybe it should contain something like:
Content-Type: text/html; charset=utf-8
Turns out the missing closing tags where enough to fix it.
The declaration <?xml version="1.0" encoding="UTF-8"?> was correct.
This topic is now closed. New replies are no longer allowed.