Set charset to UTF-8 if content contains special characters

[CR #361553] When the contents of an application grid contain special characters like ® or ’, the XML breaks.

Workaround: Set the charset of applications to UTF-8 if the contents contain special characters.