On Dec 12, 2007, at 6:45 AM, Ferit Öztosun wrote:
How did you solve this problem?
I spent several days working on this and finally managed to piece
together some help from the ruby list. If you’re into understanding
it all, try this thread: Unicode in Regex - Ruby - Ruby-Forum
First, make sure you have this line at the top of your environment.rb
file:
$KCODE = ‘UTF8’
Next, make sure your regex ends with /u as in /\w+/u
Finally, this is how you specify UTF-8 characters: