[[ Bug 12067 ]] Fix UTF16 endian conversion