How to encode non-ASCII characters in XML.

XML is the most widely used file format in computer world. What if you have a character that is not ASCII, how to put it into the XML? The answer is simple, encode it either in character entity or in unicode.

Here is an example of encoding the character using character entity,

; is encoded as &

Here is an example of encoing the character in hexdecimal unicode format,

&#00F6;

 For details, please see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references