in reply to win32::ole - SaveAs( )
Try Encode::decode("cp1251",$savename);
If this fails, you can enforce for it to be treated as Unicode using OLE Variant, see
perldoc Win32::OLE::Variant
addition FileFormat => wdFormatUnicodeText actually about file format (rtf etc) and not about file name.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: win32::ole - SaveAs( )
by karavay (Beadle) on Oct 01, 2007 at 17:10 UTC | |
by vkon (Curate) on Oct 01, 2007 at 17:28 UTC | |
by karavay (Beadle) on Oct 01, 2007 at 17:46 UTC | |
by karavay (Beadle) on Oct 01, 2007 at 17:43 UTC | |
by vkon (Curate) on Oct 01, 2007 at 18:06 UTC | |
by karavay (Beadle) on Oct 01, 2007 at 18:33 UTC |