diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-01-11 17:49:56 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-01-11 17:49:56 +0900 |
commit | 492576e77bbaf8040758ad58854f535d528cc96e (patch) | |
tree | 33e1bb49a87e779fec881f036e8ec1f2b452b8f4 /railties/lib/rails/application | |
parent | c82fa1851427eaaf6baba9828da229fdfa8c5482 (diff) | |
download | rails-492576e77bbaf8040758ad58854f535d528cc96e.tar.gz rails-492576e77bbaf8040758ad58854f535d528cc96e.tar.bz2 rails-492576e77bbaf8040758ad58854f535d528cc96e.zip |
Current default Rails app encoding "utf-8" looks more like a W3C charset than a ruby encoding
Diffstat (limited to 'railties/lib/rails/application')
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index 0226c0ffe5..a9cc244869 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -22,7 +22,7 @@ module Rails def initialize(*) super - self.encoding = "utf-8" + self.encoding = Encoding::UTF_8 @allow_concurrency = nil @consider_all_requests_local = false @filter_parameters = [] |