Enable UTF-8 support in certain methods of String class

This commit is contained in:
Alexey Verkhovsky 2005-01-21 19:17:25 +00:00
parent f75f5223c3
commit a9cf729f25

View file

@ -5,6 +5,7 @@ end
# Enable UTF-8 support
$KCODE = 'u'
require 'jcode'
RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') unless defined? RAILS_ROOT
RAILS_ENV = ENV['RAILS_ENV'] || 'production' unless defined? RAILS_ENV