Enabled UTF-8 support in string functions

This commit is contained in:
Alexey Verkhovsky 2005-01-21 19:00:45 +00:00
parent dce2af06aa
commit f75f5223c3
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,9 @@ if RUBY_VERSION < '1.8.1'
exit
end
# Enable UTF-8 support
$KCODE = 'u'
RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') unless defined? RAILS_ROOT
RAILS_ENV = ENV['RAILS_ENV'] || 'production' unless defined? RAILS_ENV