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". ;-)
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 |
In Section
Seekers of Perl Wisdom