Add test case to check UTF-8 input with multi-byte characters