my $html = "\x{feff}
"; $html =~ s!.*?!!s; #### Malformed UTF-8 character (overflow at 0x3c8443c3, byte 0x54, after start byte 0xbf) in substitution (s///)