In article <mailman.1260.1382192092.18130.python-l...@python.org>,
 Zero Piraeus <z...@etiol.net> wrote:

> For example, a miscreant may create the username 'míguel' in order to
> pose as another user 'miguel', relying on other users inattentiveness.
> Asciifying is one way of reducing the risk of that.

Determining if two strings are "almost the same" is not easy.  If míguel 
and miguel are to be considered the same, then why not also consider 
michael to be the same?  Or, for that matter, mike, mikey, or mick?  
There's no easy answer, and what's the right answer for some 
applications will be the wrong answer for others.

A reasonable place to start exploring this topic is 
https://en.wikipedia.org/wiki/String_metric.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to