in reply to Substitution bug on Unicode strings with Byte Order Mark (BOM)
I don't know if it's known, but I can confirm it's not present in perl 5.14.
With perl 5.10.1 I get warnings:
Malformed UTF-8 character (unexpected continuation byte 0xbb, with no +preceding start byte) in substitution (s///) at foo.pl line 2. Malformed UTF-8 character (unexpected continuation byte 0xbf, with no +preceding start byte) in substitution (s///) at foo.pl line 2. Malformed UTF-8 character (unexpected continuation byte 0xbf, with no +preceding start byte) in substitution (s///) at foo.pl line 2.
|
|---|