mofdan 发表于 2017-5-4 11:35:33

python 过滤乱码字符

import re
s = re.compile('[\\x00-\\x08\\x0b-\\x0c\\x0e-\\x1f]').sub(' ', str)
页: [1]
查看完整版本: python 过滤乱码字符