in reply to Re^3: win32::ole - SaveAs( )
in thread win32::ole - SaveAs( )

use strict is acually used and the code comples without any arror - this is the only small part of the program that ive posted here -

i've tried using wdFormatEncodedText and wdFormatUnicodeText, but it does not preserve unicode the resulting text comes as a bunch of - "?????????"

Replies are listed 'Best First'.
Re^5: win32::ole - SaveAs( )
by vkon (Curate) on Oct 01, 2007 at 18:06 UTC
    wdFormatUnicodeText and wdFormatEncodedText both have value 7, try it instead.
    I do not believe that your usage of wdFormatUnicodeText survives "use strict;"
      I've actually found the solution :
      wdFormatText 2 Microsoft Windows text format. Thanks for your replies vkon.