correct char encoding for UTF-8