I am using Spreadsheet::ParseExcel to parse an Excel spreadsheet file as follows
my $FileName = "../excel.xls"; my $parser = Spreadsheet::ParseExcel->new(); my $workbook = $parser->parse($FileName);
And reading values from such cells
$product = $worksheeto->get_cell( $row, 0 )->value();
The problem is that if there is a French character like à , it shows ò
To make sure there is no error in the analysis that I used
print unpack('H*', $product) . "\n";
So when I use any online hex to string converter, I get à .
I also tried
use utf8; binmode(STDOUT, ":utf8");
but instead of à I get +á
Is there a way to get the correct characters?
perl excel
Mugiwara
source share