[issue19819] reversing a Unicode ligature doesn't work

Christian Heimes report at bugs.python.org
Thu Nov 28 01:16:31 CET 2013


Christian Heimes added the comment:

A proper str.reverse function must deal with more extra cases. For example there are special rules for the Old German long s (ſ) and the round s (s). A round s may only occur at the end of a syllable. Hebrew has a special variant of several characters if the character is placed at the end of a word (HEBREW LETTER PE / HEBREW LETTER FINAL PE).

A simple reversed(s) can never deal with all the complicated rules.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19819>
_______________________________________


More information about the Python-bugs-list mailing list