pg09 has asked for the wisdom of the Perl Monks concerning the following question:
use Unicode::Map(); use Spreadsheet::WriteExcel; use Win32::OLE::Const 'Microsoft Word' my $workbook = Spreadsheet::WriteExcel->new("word.xls"); my $worksheet = $workbook->addworksheet(); my $word = Win32::OLE->new('Word.Application', 'Quit'); my $map = Unicode::Map->new("ISO-8859-6"); my $utf16 = $map->to_unicode($doc->Words->Item(1)->Text); $worksheet->write(0, 0, $utf16, $format2);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: writing Arabic text in Excel
by jmcnamara (Monsignor) on Apr 03, 2006 at 21:00 UTC | |
by pg09 (Acolyte) on Apr 03, 2006 at 23:27 UTC | |
by ff (Hermit) on Apr 04, 2006 at 03:49 UTC | |
by jmcnamara (Monsignor) on Apr 04, 2006 at 08:02 UTC | |
|
Re: writing Arabic text in Excel
by vkon (Curate) on Apr 04, 2006 at 15:42 UTC | |
by pg09 (Acolyte) on Apr 05, 2006 at 23:00 UTC | |
by vkon (Curate) on Apr 06, 2006 at 21:57 UTC | |
|
Re: writing Arabic text in Excel
by pg09 (Acolyte) on Apr 10, 2006 at 20:20 UTC | |
by john_oshea (Priest) on Apr 11, 2006 at 11:39 UTC |