It appears that Western European (ISO) is selected by default. Is
there something I can do in the code to convert it to UTF-8?

On Mar 10, 9:44 am, orde <[email protected]> wrote:
> Nice that you got it worked out.
>
> One question, though.
>
> Open IE, go to the website you're testing, right click, and select
> Encoding.  Is Unicode (UTF-8) selected?
>
> On Mar 10, 8:26 am, George <[email protected]> wrote:
>
>
>
> > I'm using IE. I tried using gsub!(/Â/, ""), but I couldn't remove the
> > remaining spaces. It took a long time, but I think I figured it out
> > using this:
>
> > x = "3       Jubitz Travel Center              Â
> > Portland,OR"
> > b = x.gsub(x[/(\d+)(\b[^0-9A-Za-z]{1,}\b)/], '') # gets rid of the
> > beginning number/funky chars
> > puts b.gsub(b[/(\b[^0-9A-Za-z]{1,}\b)(\w+)(,..)\Z/], '') # gets rid of
> > the second set of funky chars and city/state
>
> > On Mar 9, 3:36 pm, Ethan <[email protected]> wrote:
>
> > > Is this in IE or firefox?

-- 
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

Reply via email to