Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to handle UTF-8 content with Win32::IE::Mechanize

by Anonymous Monk
on Dec 03, 2012 at 10:07 UTC ( #1006837=note: print w/replies, xml ) Need Help??


in reply to How to handle UTF-8 content with Win32::IE::Mechanize

Because I know that Win32::IE::Mechanize uses Win32::OLE to drive IEAutomation,

I searched for [ddg://IEautomation utf8] IEautomation utf8

and found Win32::Watir which mentions a Win32::OLE utf setting you can toggle, a view of the source reveals

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

So you should toggle that in your program if you want utf8 strings from OLE

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006837]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-12-10 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (160 votes). Check out past polls.