Web page encoding

How could I know the encoding of a web page using watir and firewatir?


is there any way to get the correct characters from the website using
text method in firewatir?
I mean… if you do something like:

puts txt

what you have is something like: Vefur Myndir Þýða Updates Hópar
Gmail iGoogle

but if you run it as Debug on eclipse and you take a look at txt
variable what you have is: Vefur Myndir Þýða Updates Hópar Gmail iGoogle

So it is in the moment to print it out when it is not in the correct

Any ideas?

Of oourse I have the same problem with everything… trying to reach
controls by text displayed on the browser, geting values…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs