good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Reading CSV Files Containing UTF8 Charactersby shoness (Friar) |
on Nov 08, 2007 at 15:28 UTC ( [id://649732]=perlquestion: print w/replies, xml ) | Need Help?? |
shoness has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I've a set of CSV files that contain a scattering of UTF8 characters such as Ø, á, etc. I'm using Tie::Handle::CSV to read the data in for processing. I'm using Perl 5.8.8 and running (this) on Windows.
This will spin until hitting a line with an "extended" character, whereupon the CSV.pm will echo the offending line to STDERR and the program will die. The filehandle is opened within the module, so I can't get at it with binmode(). What am I to do? Will all this go away if I just move all these files up to Unix where I have Perl 5.8.5 or thereabouts. As always, your help is appreciated!
Back to
Seekers of Perl Wisdom
|
|