switched to a proper UTF-16be encode call