Enable UTF-8 support in certain methods of String class
This commit is contained in:
parent
f75f5223c3
commit
a9cf729f25
|
@ -5,6 +5,7 @@ end
|
||||||
|
|
||||||
# Enable UTF-8 support
|
# Enable UTF-8 support
|
||||||
$KCODE = 'u'
|
$KCODE = 'u'
|
||||||
|
require 'jcode'
|
||||||
|
|
||||||
RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') unless defined? RAILS_ROOT
|
RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') unless defined? RAILS_ROOT
|
||||||
RAILS_ENV = ENV['RAILS_ENV'] || 'production' unless defined? RAILS_ENV
|
RAILS_ENV = ENV['RAILS_ENV'] || 'production' unless defined? RAILS_ENV
|
||||||
|
|
Loading…
Reference in a new issue