I have a form where users enter a paragraph, which I then save in an XML file, using PHP.
However, as soon as someone copies a special character (i.e. “ - character, not the normal double quote, but ‘ numerical entity.) Then the value is not saved to the XML file at all, but leaves an empty element.
That is when I do not specify any Character encoding in my XML document.
Whats more, this problem only occurs on the remote server, and not my localhost.