I have a problem when I am trying to enter UTF-8 international character text into Firefox 3.6.6 through WATIR.
I have a script that attempts to set a string of characters into textfield. These characters are all cyrillic. The Ruby script is saved as UTF-8 and these characters can be read clearly in the source and in external text editors. I can also cut & paste these characters into the text fields under test. However when watir is trying to enter them, I see the text field go yellow, but the characters are displayed as "monkey characters" (garbage) I have: $KCODE = 'u' require 'jcode' require "rubygems" require "watir" Watir::Browser.default = 'firefox' b = Watir::Browser.new b.goto "http://www.omv.bg/portal/01/bg/shrek/tombola" b.goto("http://www.omv.bg" + b.frame(:name, "lotus_form").src) b.text_field(:name, @map_inverse[key]).value = 'Ивайло' I have found some clues here #1 but they are for IE and it is not very clear to me what the IE patch does. Is there anything that I can do to enter the text right in Firefox? #1 http://groups.google.com/group/watir-general/browse_thread/thread/119f1e61bfd37cf7/d901173efe2c7e16?lnk=gst&q=cyrillic#d901173efe2c7e16 -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
