Gruëzi, Gerald ;-) Well, ok, but I don't understand why I should first convert a pure unicode string into a byte string. The encoding ( here, latin-1) seems an arbitrary choice.
Your solution works, but is it a workaround or the real way to use strxfrm ? It seems a little artificial to me, but perhaps I haven't understood something ... Does this mean that you cannot pass a unicode string to strxfrm ? Bonne journée ! -- http://mail.python.org/mailman/listinfo/python-list