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
In reply to Re^3: accented characters are garbled
by afoken
in thread accented characters are garbled
by spspspsp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |