Fix on UTF-8 encoding error