Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 chilling in the Monastery: (4)
As of 2015-07-05 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls