visweswara wrote:
> how can we make watir support utf-8 characters?, I would like to write  
> japanese characters in textboxes of webpages using watir.
>
> I am using watir 1.4.1 and ruby 1.8.4.20(stable) build .
> I tried using  
>
> WIN32OLE.codepage = WIN32OLE::CP_UTF8
>
> at the top of scipt  , but no luck
>   
Keep trying. I seem to recall that i used code much like this over a 
year ago to read and write double-byte characters (japanese, chinese, i 
forget which) to and from IE and Excell (and thus from one to the other).

I'm pretty sure i wrote up a report. Have you looked way back in the 
archives for this list?

Some of the other posts on this thread mention kcode stuff, but i 
believe that this affects your ability to embed multi-byte characters in 
string literals in Ruby code -- which amounts to a red herring for those 
of us can neither read or write these languages.

Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to