The runtime error looks like this:
and the corresponding source code line isMalformed UTF-8 character (unexpected non-continuation byte 0xf6, imme +diately after start byte 0xe4) at ppParser.yp line 1477. Malformed UTF-8 character (unexpected non-continuation byte 0xfc, imme +diately after start byte 0xf6) at ppParser.yp line 1477. Malformed UTF-8 character (unexpected non-continuation byte 0xc4, imme +diately after start byte 0xfc) at ppParser.yp line 1477. Malformed UTF-8 character (unexpected non-continuation byte 0xd6, imme +diately after start byte 0xc4) at ppParser.yp line 1477. Malformed UTF-8 character (unexpected non-continuation byte 0xdc, imme +diately after start byte 0xd6) at ppParser.yp line 1477. Malformed UTF-8 character (unexpected non-continuation byte 0xdf, imme +diately after start byte 0xdc) at ppParser.yp line 1477. Malformed UTF-8 character (unexpected non-continuation byte 0x5d, imme +diately after start byte 0xdf) at ppParser.yp line 1477.
Does anyone know of a "use" pragma or other simple fix which would do what the author intends yet allow this to work under Perl 5.8.0?# prepare a common pattern my $patternWUmlauts=qr/[\wäöüÄÖÜß]+/;
In reply to legacy code, utf8 and Perl 5.8.0 by barrachois
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |