in reply to Re^4: using binmode() to override default encoding specified in "use open"
in thread using binmode() to override default encoding specified in "use open"
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.
|
|---|