Thanks!

On Jul 13, 7:37 pm, Ethan <[email protected]> wrote:
> Unicode is properly supported in Vapir-Firefox, my fork of firewatir. I
> recommend you give it a try - seehttp://vapir.org/and the wiki 
> athttp://wiki.github.com/vapir/vapir/
>
> It's not perfect as it still enters unicode characters into a text field one
> byte at a time, rather than one character, but the end result is the same -
> correct unicode entered. That issue is already fixed in the code, and will
> be in the next release.
>
> -Ethan
>
> On Tue, Jul 13, 2010 at 07:30, Gudata <[email protected]> wrote:
> > 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/119...
>
> > --
> > Before posting, please readhttp://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