I'll give it a shot. Thanks There is a lot to know when working with UTF-8.
On Sep 30, 4:09 am, Željko Filipin <[email protected]> wrote: > Would you put this on our wiki? I guess the best place is in `Learning > More`section. > > http://wiki.openqa.org/display/WTR/Learning+More > > There are a lot of people that have UTF-8 related problems. > > Please let me know if you need help with wiki. > > Željko > --http://watirpodcast.com/ > > > > On Tue, Sep 29, 2009 at 5:11 PM, Loft_Tester <[email protected]> wrote: > > I got this to work. Here is the code: > > > require 'win32ole' > > require 'watir' > > > WIN32OLE.codepage = WIN32OLE::CP_UTF8 #UTF-8 > > > ############################################### > > $Browser = nil > > > ENV["watir_browser"]="ie" > > > $Browser = Watir::Browser.new > > $Browser.goto "www.google.com" > > > $Browser.text_field(:name,'q').value = "考" > > $Browser.text_field(:name,'q').value = "\xE8\x80\x83" > > ####################################################### --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
