Rick --

That is just one form that happens to be used for existing filehandles.  You can also find similar code in "open" statements (see rebuild_zebra.pl) and the same code in different forms like:
binmode(STDOUT,":utf8");

We should setting it (or something like it) where needed. 

--Joe

On Sun, Dec 14, 2008 at 2:51 PM, Rick Welykochy <rick@praxis.com.au> wrote:
Hi all,

I ran across this bit of randomness today:

   binmode STDOUT, ":utf8";

It occurs in only three perl scripts in Koha:

./circ/ysearch.pl
./misc/sax_parser_test.pl
./reports/guided_reports.pl

Should this binmode setting be executed in all of our perl scripts
to provide correct utf-8 support?

If not, why not?

cheers
rickw

--
_________________________________
Rick Welykochy || Praxis Services