Support for UTF8 characters in input string