encode DB data to utf8