aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-07-22 06:08:58 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-07-22 06:08:58 +0000
commit7ebdecfb89c840cdf8c0a35084f962e3174fcf1c (patch)
treef0796eab4ab5fa671a679eba146d3b1e98ee1830 /railties
parentbd558ef98e17e27da51aee77fe50ef2cd129bb6e (diff)
downloadrails-7ebdecfb89c840cdf8c0a35084f962e3174fcf1c.tar.gz
rails-7ebdecfb89c840cdf8c0a35084f962e3174fcf1c.tar.bz2
rails-7ebdecfb89c840cdf8c0a35084f962e3174fcf1c.zip
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
Diffstat (limited to 'railties')
-rw-r--r--railties/environments/environment.rb6
1 files changed, 6 insertions, 0 deletions
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__), '..')