kivy/kivy — pull request #1742 by latyas (2014-01-02 20:03:31+00:00)
Title: Update __init__.py

when processing a text with invalid encoding, shorten function will crash. (sorry for english)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xb1 in position 0: ordinal not in range(128)