Enable UTF-8 support in certain methods of String class
This commit is contained in:
parent
f75f5223c3
commit
a9cf729f25
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue