Skip to content

Commit

Permalink
* encoding.c: document fix, change default script encoding.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ayumin committed May 19, 2013
1 parent 11c7566 commit 66795c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sun May 19 23:12:07 2013 Ayumu AIZAWA <[email protected]>

* encoding.c: document fix, change default script encoding.
patched by @windwiny [Fixes GH-310]

Sun May 19 17:29:07 2013 Akinori MUSHA <[email protected]>

* lib/set.rb (Set#delete_if, Set#keep_if): Add comments.
Expand Down
2 changes: 1 addition & 1 deletion encoding.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66795c4

Please sign in to comment.