in reply to Re: Forcing UTF-8 output on STDOUT
in thread Forcing UTF-8 output on STDOUT

Thanks. I had experimented with binmode in different ways, but your example does the job!