Improve support for non-BMP characters in XML.

This adds support for writing surrogate pairs out as entity references in
KXmlSerializer and for parsing non-BMP entity references in
DocumentBuilderImpl.

Emoji and XML. Two of my least favorite things together at last.

Bug: 17960630
Change-Id: If5e1001faf250e87e6eeebe3449a6ebc115789a1
3 files changed