Part of a website I am currently working on contains registration process where users have to provide their email address. Just recently I became aware that non-ascii based
what is about something this:
mb_internal_encoding("UTF-8"); mb_regex_encoding("UTF-8"); mb_ereg('[\w]+@[\w]+\.com',$mail,'UTF-8');