Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 meditating upon the Monastery: (10)
As of 2015-11-25 04:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (670 votes), past polls