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 <aaronr...@gmail.com> 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 watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---