Fix character code to UTF-8