Getting the current code page, open with UTF-8

2008-08-18 Thread Ben Bullock
I am using Win32::OLE to automate Microsoft Word/Excel, and I use utf8 to communicate with the applications themselves. But when I send a UTF-8 string to a routine like my $filename = "somethinginutf8"; $word->Documents->Open ($filename); this produces an error. A lot of the files and directorie

Re: trouble accessing fully qualified $main::variable contents

2008-07-07 Thread Ben Bullock
2008/7/8 Greg Aiken <[EMAIL PROTECTED]>: > can anyone please explain why when I am in the subroutine, > and I attempt to print a variable that's been declared and assigned a value > in the main package - why I am unable to print the value of the main > package's variable (despite that I am using th

Re: Where are msoEncodingUTF8 and other msoEncodings?

2008-06-17 Thread Ben Bullock
2008/6/18 Jan Dubois <[EMAIL PROTECTED]>: > The following statement should make sure you load the correct library, > regardless of the version of Office installed on your machine: > >use Win32::OLE::Const 'Microsoft Office [0-9.]+ Object Library'; Thank you Jan. That worked!

Where are msoEncodingUTF8 and other msoEncodings?

2008-06-17 Thread Ben Bullock
codingUTF8 lives. Encoding => 65001});#msoEncodingUTF8}); But I wonder where I can find the numbers for msoEncoding values, in case I need to change this in the future, or in case Microsoft changes the numerical value. Thank you for any assistance. Ben Bullock