add encoding and utf-8 string