fix unicode encode error, ascii to utf8

*** UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in
position 38: ordinal not in range(128)