in reply to Re: What to do when converting Excel-supplied data to Unicode
in thread What to do when converting Excel-supplied data to Unicode
my $formatter = My::Excel::FmtUTF8->new(); my $parser = Spreadsheet::ParseExcel->new(); my $excel = $parser->Parse($file, $formatter); my $sheet = $excel->{Worksheet}->[0]; ... my $cell = $sheet->{Cells}[$row][$col]; my $cellVal = $cell->{Val};
Does that look correct? Why does my $cellVal end up different than $decoded in TextFmt()?
Is there any other (easy/perl) way to read Excel files that have Unicode data? It is confusing to me that I can write Unicode data to an excel file using WriteExcel, but I cannot read it.
Regards,
ITFinanceGuy
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: What to do when converting Excel-supplied data to Unicode
by davis (Vicar) on Feb 20, 2009 at 23:03 UTC | |
by ITFinanceGuy (Initiate) on Feb 20, 2009 at 23:33 UTC | |
by ITFinanceGuy (Initiate) on Feb 23, 2009 at 22:55 UTC | |
by Anonymous Monk on Feb 24, 2009 at 16:50 UTC |