Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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


Comment on Re: How to handle UTF-8 content with Win32::IE::Mechanize
Select or Download Code

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 romping around the Monastery: (12)
As of 2014-08-27 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (250 votes), past polls