XDXF: Handles non-BMP unicode characters correctly (#320, #107)