in reply to Re: One bird, two Unicode names
in thread One bird, two Unicode names
Thanks in advancemy $zip = Archive::Zip->new( $infile ); my $content = $zip->contents('content.xml'); my $workbook_ref = read_xml_string($content); foreach my $sheet ( sort keys %$workbook_ref ) { foreach my $row( @{$$workbook_ref{$sheet}} ) { foreach my $cell_contents (@{$row}){ next unless defined( $cell_contents ); DECODE $cell_contents SOMEHOW
I tried thisDECODE $cell_contents SOMEHOW
use Encode; my $octets = encode("iso-8859-1", $string); return( $octets );
|
|---|