What does this mean? Is there a way to get it working?use strict; use warnings; use encoding 'utf8'; use Encode; my $raw = encode('cp1250', 'í'); my $letter = decode('cp1250', $raw); if ($letter eq 'í') { print "yes\n" } else { print "no\n" } if ($letter =~ /í/) { print "yes\n" } else { print "no\n" } __OUTPUT__ yes no
In reply to matching UTF8 chars with regex by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |