Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: accented characters are garbled

by afoken (Monsignor)
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". ;-)

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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-10-21 10:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (288 votes). Check out past polls.