Subject: | U+0100- CHARs in email address are recognized to be VALID unexpectedly |
[reproduce]
use Email::Valid::Loose;
no utf8;
say Email::Valid::Loose->address('マルチバイト@example.com') ? 'OK' : 'NG';
# => NG
use utf8;
say Email::Valid::Loose->address('マルチバイト@example.com') ? 'OK' : 'NG';
# => OK (!!!)
no utf8;
say Email::Valid->address('マルチバイト@example.com') ? 'OK' : 'NG';
# => NG
use utf8;
say Email::Valid->address('マルチバイト@example.com') ? 'OK' : 'NG';
# => NG