tangledman — 2013-04-22T09:33:29-04:00 — #1
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.
jurn — 2013-04-23T17:18:57-04:00 — #2
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
tangledman — 2013-04-24T04:03:07-04:00 — #3
Turns out the missing closing tags where enough to fix it.
The declaration <?xml version="1.0" encoding="UTF-8"?> was correct.