小编Dav*_*ltz的帖子

如何从Python字符串中删除unicode"标点符号"

Here's the problem, I have a unicode string as input to a python sqlite query. The query failed ('like'). It turns out the string, 'FRANCE' doesn't have 6 characters, it has seven. And the seventh is . . . unicode U+FEFF, a zero-width no-break space.

How on earth do I trap a class of such things before the query?

python unicode punctuation

7
推荐指数
1
解决办法
5841
查看次数

标签 统计

punctuation ×1

python ×1

unicode ×1