Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-10-01 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (576 votes). Check out past polls.