Fix unicode/bytes consisteny in text core shorten.
Merge branch 'master' of https://github.com/kivy/kivy into unicode
Merge pull request #1825 from matham/unicode

Fix unicode issues with text core