This link will give more information about the character including
"Scripting-language string"
http://www.isthisthingon.org/unicode/clipboard.php?add=25911

On Sep 28, 4:01 pm, Loft_Tester <[email protected]> wrote:
> I am trying to enter a japanese(UTF8) character into one of the fields
> on our web page and I keep having ç ¾ posted instead of 攷.  I believe
> I have to let watir know that I am using UTF-8 but how.  I had the
> same problem going to the google.com home page.  I can copy and paste
> the character above and it works fine.  Here is the code I have been
> working with.
>
> --------------------------------------------------------------------------- 
> -----------------------------------
>
> require 'watir'
> $KCODE='u'
> require 'win32ole'
> WIN32OLE.codepage = WIN32OLE::CP_ACP #UTF8
>
> ###############################################
> $Browser = nil
>
> ENV["watir_browser"]="ie"
>
> $Browser = Watir::Browser.new
> $Browser.goto "www.google.com"
> $Browser.text_field(:name,'q').set("攷")
>
> #################################################
>
> This should be simple enough to do but I am not sure how.  Thanks for
> your help
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to