http://www.perlmonks.org?node_id=1019044


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". ;-)