STINNER Victor added the comment: + '\U00010000\U00100000'.lower() Why not checking the result of these calls? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18183> _______________________________________