Permalink
Browse files

* ruby.c (load_file_internal): set default source encoding as

  UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679]

* parse.y (parser_initialize): set default parser encoding as
  UTF-8 instead of US-ASCII.

r37485
  • Loading branch information...
1 parent 454f7f0 commit 920cb81f6c6d9ce57c51a6df8fdc99b0d00f4c3a @tenderlove tenderlove committed Nov 16, 2012
Showing with 10 additions and 1 deletion.
  1. +8 −0 CHANGELOG.rdoc
  2. +1 −1 test/psych/test_yaml.rb
  3. +1 −0 test/psych/visitors/test_to_ruby.rb
View
8 CHANGELOG.rdoc
@@ -1,3 +1,11 @@
+Tue Nov 6 09:37:57 2012 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * ruby.c (load_file_internal): set default source encoding as
+ UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679]
+
+ * parse.y (parser_initialize): set default parser encoding as
+ UTF-8 instead of US-ASCII.
+
Mon Oct 29 10:22:00 2012 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/handlers/recorder.rb: added a class for
View
2 test/psych/test_yaml.rb
@@ -1,4 +1,4 @@
-# -*- mode: ruby; ruby-indent-level: 4; tab-width: 4 -*-
+# -*- coding: us-ascii; mode: ruby; ruby-indent-level: 4; tab-width: 4 -*-
# vim:sw=4:ts=4
# $Id$
#
View
1 test/psych/visitors/test_to_ruby.rb
@@ -1,3 +1,4 @@
+# coding: US-ASCII
require 'psych/helper'
module Psych

0 comments on commit 920cb81

Please sign in to comment.