|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^2: Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma?by Jim (Chaplain) |
| on Oct 02, 2011 at 21:11 UTC ( #929180=note: print w/ replies, xml ) | Need Help?? |
|
Thank you very much, Tux! Thankfully, one can still get kind and gracious help with Perl problems from Perl experts on PerlMonks. Upgrading to a bleadperl version of IO isn't practical for me in my environment. So for now, I'll simply not use the open pragma to set default I/O layers and, instead, open files and set I/O layers explicitly in my Perl programs, like this…
Now if I could just figure out how best to handle UTF-8 CSV files that have byte order marks in them. ;-) Text::CSV_XS alone chokes on them. I'm currently doing this…
Is this The Right Way?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||