Here's a quick way to get the character set from the meta tags:
ie = IE.start('http://www.yahoo.com')
meta = ie.document.getElementsByTagName( 'meta' ).item(0)
content = meta.getAttribute('content')
content.strip!
content =~ /[\w+\/]\s*;\s*([\w=\-\s]+)$/
charset = $1.split(
Hi,
I was wondering if there is any way of verifying specific codepage usage
of a web application (i.e. ISO-8859 instead of UTF-8) using Watir?
Ulrike
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-gen