Amaury Forgeot d'Arc <[email protected]> added the comment: When you used str split, you had to use a unicode string: content.split(u'。') It's the same with re.split: when I use pattern = re.compile('。') nothing is split, it works much better with: pattern = re.compile(u'。')
---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue14068> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
