littleq0903 / spritz-cmd

The command-line version of implementation of a cool reading tool, Spritz.
MIT License
46 stars 5 forks source link

unicode support #1

Closed microspace closed 10 years ago

microspace commented 10 years ago

For python2.7 its is better to read words as unicode sequence

word=u'word'

Because len('привет') == 12, but len(u'привет') == 6.

For python 3 it is no problem

littleq0903 commented 10 years ago

the pull request has been merged.