summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authorayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 14:15:42 +0000
committerayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 14:15:42 +0000
commit66795c47745698b30d42b35831f359aa3c07bf2c (patch)
treed3e358c27affd6a2f316e8c410e5af5d96ea41ac /encoding.c
parent11c7566aa38222c8120c076cf328c847d62b9a85 (diff)
* encoding.c: document fix, change default script encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index a9a224430d..6fb14a5795 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1700,7 +1700,7 @@ rb_enc_aliases(VALUE klass)
* All Ruby script code has an associated Encoding which any String literal
* created in the source code will be associated to.
*
- * The default script encoding is <code>Encoding::US-ASCII</code>, but it can
+ * The default script encoding is <code>Encoding::UTF-8</code> after v2.0, but it can
* be changed by a magic comment on the first line of the source code file (or
* second line, if there is a shebang line on the first). The comment must
* contain the word <code>coding</code> or <code>encoding</code>, followed