Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Win32::OLE with non-ANSI data

by Anonymous Monk
on Mar 30, 2022 at 06:18 UTC ( #11142521=note: print w/replies, xml ) Need Help??


in reply to Re: Win32::OLE with non-ANSI data
in thread Win32::OLE with non-ANSI data

perlunitut: Unicode in Perl#what_about_the_utf8_flag

Replies are listed 'Best First'.
Re^3: Win32::OLE with non-ANSI data
by freonpsandoz (Beadle) on Mar 31, 2022 at 06:40 UTC

    I see now that "by default, the internal format is either ISO-8859-1 (latin-1), or utf8, depending on the history of the string." I hadn't seen that before. I was under the impression that if the utf8 flag is not set, the string consists of octets that should be decoded. It now appears that this impression was incorrect. That brings me back to the question: Exactly what does the Win32:OLE documentation mean when it talks about the CP option for "translations between Perl strings and Unicode strings?" Does the CP_UTF8 option actually mean "character strings in Perl's internal format?" Thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-10-05 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (24 votes). Check out past polls.

    Notices?