- use a function for utf16 type conversion instead of a macro