Misleading error message (INI - the header is empty)
x-yuri opened this issue · comments
x-yuri commented
When a header contains Cyrillic letters, it says the header is empty:
use strict;
use warnings;
use utf8;
# my $hdr = 'test';
my $hdr = 'тест';
open my $h, "<", \$hdr or die $!;
$ perl a.pl
Strings with code points over 0xFF may not be mapped into in-memory file handles
Invalid argument at a.pl line 6.
Line 1087 in e3b394e
I'm running perl-5.36.0
.