On Wed, Jun 3, 2009 at 3:17 PM, Andrew andre...@gmail.com wrote:
If the ñ character is anywhere in my html file, it appears to be
breaking the xpath selectors I'm using.
A long time ago I wrote a blog post that could maybe help you:
http://zeljkofilipin.com/2006/03/15/utf-8-and-ruby/
Željko
Thanks, I'll check that out.
On Jun 3, 9:29 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Jun 3, 2009 at 3:17 PM, Andrew andre...@gmail.com wrote:
If the ñ character is anywhere in my html file, it appears to be
breaking the xpath selectors I'm using.
A long time ago I
Looks like that fixed it in my initial testing. Thanks!
On Jun 3, 9:29 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Jun 3, 2009 at 3:17 PM, Andrew andre...@gmail.com wrote:
If the ñ character is anywhere in my html file, it appears to be
breaking the xpath selectors I'm
Just for the sake of having a complete question/answer, you just need
to add the following two lines to your ruby script:
require “win32ole”
WIN32OLE.codepage = WIN32OLE::CP_UTF8
Source: http://zeljkofilipin.com/2006/03/15/utf-8-and-ruby/
On Jun 3, 9:36 am, Andrew andre...@gmail.com wrote:
On Wed, Jun 3, 2009 at 3:36 PM, Andrew andre...@gmail.com wrote:
Looks like that fixed it in my initial testing. Thanks!
I am glad to hear that. :)
I am just surprised that in this day and age we still have to take care of
unicode and stuff like that.
Željko
As I side note I have replaced REXML with nokogiri which will greatly
improve the speed of your IE tests (at a guess 3 - 5 times faster)
http://github.com/aidylewis/watir/blob/467c42a079c6f0b3e78a187353e288f8e3787503/watir/lib/watir/ie-class.rb
Aidy