Firewatir does not support utf-8. Vapir-Firefox does, I recommend trying it.
http://vapir.org/

On Fri, Sep 10, 2010 at 10:01, Keith Hughes <[email protected]> wrote:

> I tried your script and got a problem with the format of the text entered
> in firefox. However it worked fine in Internet Explorer. Could this be a
> firewatir or firefox issue specifically?
>
>
> On Fri, Sep 10, 2010 at 1:59 PM, Quang <[email protected]> wrote:
>
>> I have a problem about UTF-8 when set text_field and click link, I
>> searched alot of it on GROUP and Forum but  can't find any answer
>> about it. Can you help me resolve my problem. Thanks!
>>
>> myscript.rb
>>
>> require 'rubygems'
>> require 'firewatir'
>> Watir::Browser.default = 'firefox'
>> ff = Watir::Browser.start("www.google.com")
>> ff.text_field(:name,"q").value = "năng động mỗi ngày"
>>
>> --
>> 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]<watir-general%[email protected]>
>>
>
>  --
> 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]<watir-general%[email protected]>
>

-- 
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]

Reply via email to