in reply to Win32::OLE & encoding

You could try to convince Win32::OLE to convert to/from UTF-8, but I'm a bit unclear on the exact usage.

use Win32::OLE 'CP_UTF8'; Win32::OLE->Option( CP => CP_UTF8 );

If that doesn't help, try dumping the exact bytes you get back, and from that maybe you (or we) can divine the actual encoding. Maybe it is UTF16BE or something weird.

use Devel::Peek; Dump $text;

Replies are listed 'Best First'.
Re^2: Win32::OLE & encoding
by Denis Mikhailov (Novice) on Mar 25, 2026 at 17:47 UTC
    Your advice helped! Thank you!