Add support for UTF-16 surrogate pairs to the XML validator

primary: basher

GTM will strip our emoji no more :smile: :smile_cat: :+1: :sparkling_heart: