WIP adding translation between our internal UTF8 text and the OS's UTF16 used e.g. when displaying text onscreen.
Fix field style placement with non-ASCII characters.
We now convert the UTF8 offsets we keep internally to UTF16 offsets that the Mac text system uses.