When I try to encode string with u as u'ąčęėį', everything is fine. But I want to encode variable, as u(var). I cannot do that. Am I supposed to use unicode(vat, 'utf-8')? It doesn't work with my symbols. It says 'utf8' codec can't decode byte
. What coded Am I supposed to use?
编码自定义符号
评论
请
登录后发表观点