Amaury Forgeot d'Arc <amaur...@gmail.com> 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to