convert to utf8, almost completed.