text: use UInt32 to manipulate chars