Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Win32::OLE with non-ANSI data (use Win32::OLE qw(CP_UTF8);

by freonpsandoz (Beadle)
on Mar 29, 2022 at 03:18 UTC ( #11142478=note: print w/replies, xml ) Need Help??


in reply to Re: Win32::OLE with non-ANSI data (use Win32::OLE qw(CP_UTF8);
in thread Win32::OLE with non-ANSI data

Reading the Win32::OLE CP option documentation more carefully, I see why I was confused. It refers to "translations between Perl strings and Unicode strings," but it really means "translations between octets and OLE Unicode strings," doesn't it? Does the CP_UTF8 option mean "strings that are in Perl's internal representation," or should Perl strings be encoded to and decoded from UTF-8 octets when passing data to/from this interface? Thanks.

  • Comment on Re^2: Win32::OLE with non-ANSI data (use Win32::OLE qw(CP_UTF8);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142478]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2022-08-18 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?