VirtualKeyboard: Ensure returned text is encoded in utf-8