P is for Practical | |
PerlMonks |
Re^5: using binmode() to override default encoding specified in "use open"by jcb (Parson) |
on Jul 23, 2020 at 23:53 UTC ( [id://11119727]=note: print w/replies, xml ) | Need Help?? |
FFFD is a substitute for a character that could not be properly encoded. It is very unlikely that multiple encodings will produce useful results, but they could be useful for deliberately generating malformed output to feed to some other program that expects that type of malformed input. I agree that pushing a second :encoding layer should produce a warning, though.
In Section
Seekers of Perl Wisdom
|
|