Take a look at this link, you need to use the jcode library for unicode support, that being said, it'll be interesting to see if there are any issues that you might hit in Watir:

http://ruphus.com/blog/2005/06/11/ruby-and-unicode/

I personally haven't had the occasion to use unicode in ruby yet., but maybe this helps.

-Charley

On 8/3/06, visweswara <[EMAIL PROTECTED] > 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

--
visw
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3253&messageID=8917#8917
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to