From: Dave Burt Date: 2006-02-02T06:43:45+09:00 Subject: Re: Premature end of regular expression with non-ascii chara Nick Snels wrote: > Thank you both very much for the suggestions. First off I have > $KCODE="u" in config/environment.rb (Rails). I have also tried to add it > into the class. But the error remained. I haven't had the issues you're talking about, because I'm only doing apps in English, but here are a couple of places you might start to look for solutions: http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings http://redhanded.hobix.com/inspect/unicodeLibForRuby18.html > I could use 1.9.0 because this includes oniguruma. The only > problem here is that I don't know if Rails works with it. Don't. 1.9.0 isn't for production, really; it's an experimental version which is growing some features that may become part of Ruby 2.0. Cheers, Dave