Feature #4050 » Ruby-1.9-Encoding.default_external.diff
config/environment.rb | ||
---|---|---|
7 | 7 |
# Specifies gem version of Rails to use when vendor/rails is not present |
8 | 8 |
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION |
9 | 9 | |
10 |
if RUBY_VERSION >= '1.9' |
|
11 |
Encoding.default_external = 'UTF-8' |
|
12 |
end |
|
13 | ||
10 | 14 |
# Bootstrap the Rails environment, frameworks, and default configuration |
11 | 15 |
require File.join(File.dirname(__FILE__), 'boot') |
12 | 16 |