From: Brendan FF Date: 2011-07-21T07:22:49+09:00 Subject: StringScanner using skip_until not detecting special characters I am trying to parse a string until the first occurrence of a word. This word sometimes has not latin characters in it and it has been causing me problems. An example: irb(main):001:0> require 'strscan' => true irb(main):002:0> testStr = "There is a special name, André, in it" => "There is a special name, Andr\303\251, in it" irb(main):004:0> s = StringScanner.new(testStr) => # irb(main):005:0> s.skip_until /special/ => 18 irb(main):008:0> s.skip_until /André/ => nil Thanks for any help -- Posted via http://www.ruby-forum.com/.