Hey folks I've run into an issue with UTF8 charset that is confusing me. Up till now all my scripts have been non webdriver scripts so that might be my root issue. My scripts are pretty straightforward but with our recent upgrade to support UTF-8 I'm adding those characters into my script and thats where I encounters this error " invalid multibyte char (UTF-8)" If I take out the "ÞæßãðûĄĈ" characters from my test it runs fine. It was my understanding that the UTF-8 encoding would pretty much cover everything, but I guess I'm wrong.
*Top of Script* #!/usr/bin/env ruby -w # encoding: UTF-8 require 'watir' include Watir *Line in Question * ie.text_field(:name, "title").value == "ÞæßãðûĄĈ UTF8 Test - Clone " -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
