convert strings reading from setting to utf-8.