in reply to Re^2: UTF-8 issues with Perl in general and with Spreadsheet::WriteExcel
in thread UTF-8 issues with Perl in general and with Spreadsheet::WriteExcel

do I just include it once at the start of the script or before each input from STDIN?

Including it once is sufficient.  It adds another PerlIO layer to the file handle (STDIN here), which remains in effect for the lifetime of the file handle (or until you change it again with another binmode).

  • Comment on Re^3: UTF-8 issues with Perl in general and with Spreadsheet::WriteExcel