Add UTF-16 checking