Fix character type (utf-8)