On 12/07/14 13:19, Steven D'Aprano wrote:

Because the person might have typed any of:

grosse
große

etc., and you want to accept them all, just like in English

The bit I was missing was that a German user might use the ss version instead the ß so testing for either of them alone is insufficient. lower() or casefold() would deal with the mixed case variations, but lower() would not fix the ss v ß issues.

Thanks,

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to