Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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.

  • Comment on Re^5: using binmode() to override default encoding specified in "use open"
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11119727]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-19 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found