The regexp avoids using German umlauts. The complete texts are ```Datei zum Hochladen auswählen``` and ```Ö&ffnen```. I tried using the complete texts and got ``` invalid byte sequence in US-ASCII (ArgumentError) ``` But if you write ``` # encoding: utf-8 ``` in the first line of the file, you can use the complete texts with no error. In my opinion, the regexp solution is better, because that way others don't have characters in the source code that they don't have on their keyboard.
--- Reply to this email directly or view it on GitHub: https://github.com/watir/watir-classic/issues/50#issuecomment-12586841
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
