From: Mario Ruiz Date: 2010-06-03T23:29:57+09:00 Subject: watir 1.6.5, ruby 1.8.7 and character encoding problem Hi, I was updating my tests to work for watir 1.6.5 and ruby 1.8.7 since I had them before on watir 1.5.3 and ruby 1.8.6. Since then when I try to set a text field on any web page the characters don't correspond to the original ones and that was working perfectly before. The code I was using was: require 'watir' @nav=Watir::Browser.new() @nav.goto("www.google.com") txt="ñÑáéíóú" @nav.text_field(:name,"q").set txt @nav.close() Instead of writing the characters "ñÑáéíóú" what it is written is ������� Any idea on how to solve this? Thanks a lot. -- Posted via http://www.ruby-forum.com/.