Unicode cleanup of input