"be consistent" | |
PerlMonks |
Re: Processing spreadsheet with some cells in ASCII, other cells in UTF-8by stevieb (Canon) |
on Sep 01, 2015 at 20:57 UTC ( [id://1140716]=note: print w/replies, xml ) | Need Help?? |
This is my first ever attempt at non-ascii processing, so I'll let the more experienced Monks criticize if this is the wrong approach, or if there's a better one. After a very quick dig online, I found that setting binmode on all the file handles can fix the issue: Input file:
Code:
Output:
In Section
Seekers of Perl Wisdom
|
|