Browse files

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
  • Loading branch information...
1 parent bd558ef commit 7ebdecfb89c840cdf8c0a35084f962e3174fcf1c @dhh dhh committed Jul 22, 2005
Showing with 6 additions and 0 deletions.
  1. +6 −0 railties/environments/environment.rb
View
6 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__), '..')

0 comments on commit 7ebdecf

Please sign in to comment.