Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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.

Alexander

--
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
    Whoops.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2015-07-31 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls