Start of fixes to allow utf8 input for searches etc. Disable invalid character check on inputmode. Will need some work as we need to disallow a lot of invalid characters, but this allows for utf8 input for now