• Tools
  • Articles
  • Q&A
  • Login
0 0

如何把unicode中前面的‘u’去掉?


例如:u'!@hj78\u03c0-\u03c0'=>'!@hj78\u03c0-\u03c0'

主要用于insert into table(utf8字段) values()

utf-8 python unicode

10 years, 4 months ago
缱绻未眠、

缱绻未眠、


share
缱绻未眠、 10 years, 4 months ago

Answers

0

那就用utf-8编码一下,不就行了

answered 10 years, 4 months ago
缱绻未眠、

莱德美容美发


share
莱德美容美发 answered 10 years, 4 months ago

Your Answer

Ask Question
Related questions

python写utf-8文件的问题

MySQL连接校对:utf8_general_ci与utf8_unicode_ci有什么区别呢

GBK中的Unicode编码

Scrapy爬虫框架抓取中文结果为Unicode编码,如何转换UTF-8编码

swift语言,如何通过utf8的编码得到字符?

如何从实验的角度来(查Unicode码表)验证:几乎所有的汉字,都要占用3个字节?