Handle UTF8 translations in XMLWriter