From a9cf729f257ae8e221b45d61698c2362ec03010b Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Fri, 21 Jan 2005 19:17:25 +0000 Subject: [PATCH] Enable UTF-8 support in certain methods of String class --- config/environment.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environment.rb b/config/environment.rb index 7fe11d1e..af16b33d 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -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