Enable UTF-8 support in certain methods of String class

instiki-madeleine
Alexey Verkhovsky 2005-01-21 19:17:25 +00:00
parent f75f5223c3
commit a9cf729f25
1 changed files with 1 additions and 0 deletions

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