- or download this
my $category;
my $decoded_text = decode('UTF-8', $_);
...
if ($latin1_html =~ /behälter/i) {
$category = 'Behälter';
}
- or download this
use open IN => ':encoding(UTF-8)';
use open OUT => ':encoding(iso-8859-1)';
- or download this
my $category;
if ($_=~ /behälter/i) {
$category = 'Behälter';
}
- or download this
my $category;
if ($_=~ /beh\xE4lter/i) {
$category = 'Behälter';
}