good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: accented characters are garbledby afoken (Chancellor) |
on Feb 16, 2013 at 17:00 UTC ( [id://1019044]=note: print w/replies, xml ) | Need Help?? |
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". ;-)
In Section
Seekers of Perl Wisdom
|
|