M
Mario Ruiz
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_fieldname,"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.
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_fieldname,"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.