Revert "fix utf16 compat"

This reverts commit a7486aeb04a267caff2d4e5e7f066643168f1ea2.