Fix UTF8 decoder