Dr.Ruud wrote: > That changes the encoding of the script, and of STDIN and STDOUT, but > not of any open()s, so it might not be enough.
You can open with encoding with the three-argument form. For example: open(FH, "<:utf8", "file") See `perldoc -f open` for details. Also, after an open, you can change the file handle's mode with binmode. See `perldoc -f binmode` for details. -- __END__ Just my 0.00000002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle * Perl tutorials at http://perlmonks.org/?node=Tutorials * A searchable perldoc is at http://perldoc.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>