in reply to Re: Substr cannot extract last special characterin thread Substr cannot extract last special character
my $x ='Ù'; print length($x), "\n"; # prints 2 [download]
use utf8; my $x ='Ù'; print length($x), "\n"; #' prints 1 [download]
Dave.