Web page encoding

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

Thanks.

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

txt=ff.text()
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
charset.

Any ideas?

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