Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: accented characters are garbled

by afoken (Prior)
on Feb 16, 2013 at 17:00 UTC ( #1019044=note: print w/ replies, xml ) Need Help??

in reply to Re^2: accented characters are garbled
in thread accented characters are garbled

binmode can do more than turning off newline conversion. It can set I/O layers, like :utf8 and :encoding(utf8). See binmode for more details, and the difference between the two layers.

Of course, it is also possible to setup the required I/O layers directly in open, using the three-arguments form. See open.


Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Comment on Re^3: accented characters are garbled
Select or Download Code
Replies are listed 'Best First'.
Re^4: accented characters are garbled
by 7stud (Deacon) on Feb 16, 2013 at 17:20 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-10-08 17:21 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (222 votes), past polls