[EMAIL PROTECTED] writes:

> Thanks for that very detailed answer, but let me reduce my question to this:
> 
> #!/usr/bin/perl
> 
> $str = 'it's a smart quote';
> if ($str =~ m/\x{2019}/){
>    print "found"
> } else {
>    print "not found"
> }
> 
> BBEdit confirms that the third char in 'it's a smart quote' is 2019.

What does ord(substr($str, 2, 1)) print then?

--Gisle

Reply via email to