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 <[email protected]> wrote: > Looks like that fixed it in my initial testing. Thanks! > > On Jun 3, 9:29 am, Željko Filipin <[email protected]> > wrote: > > > On Wed, Jun 3, 2009 at 3:17 PM, Andrew <[email protected]> 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 > > --http://watirpodcast.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
