I use “puts $ie.text” to print html document in the windows command prompt, finding that it return “?” instead of “\251”.
In fact, when I view the source in IE, it displays “©” Now, it seems that the difference is that your $ie.text will return “\251”, but my $ie.text only return “?”, is it caused by ruby version? I use Ruby-185-21, Watir-1.5.1.1192, and IE 6. Regards, Jason _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ?eljko Filipin Sent: 2007年7月12日 17:51 To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] How to deal with the copyrihgt symbol Strange, it works for me. Ok, let's see where the problem is. Navigate to page that has only © as it's text. ie.text returns "\251" ie.text => "\251" ie.text.include ?("\251") returns true ie.text.include?("\251") => true Am I missing something? I have Ruby 1.8.6, Watir 1.5.1.1192 and IE 6. Zeljko
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general