fixed bug: encode utf-8