From 7ebdecfb89c840cdf8c0a35084f962e3174fcf1c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 22 Jul 2005 06:08:58 +0000 Subject: Add comment in config/environment.rb explaining $KCODE and UTF-8 #1726 [Leon Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/environment.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'railties/environments/environment.rb') diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index 45fd0d4165..4131c5cb16 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -3,6 +3,12 @@ # # Be sure to restart your webserver when you modify this file. +# Uncomment to set UTF-8 as the encoding for strings. The Ruby default +# is US-ASCII (may differ on different platforms though). This setting is +# required if you need to return non-ASCII UTF-8 strings from ActionWebService. +# +# $KCODE = 'UTF8' + # The path to the root directory of your application. RAILS_ROOT = File.join(File.dirname(__FILE__), '..') -- cgit v1.2.3