diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-11-16 14:09:21 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-11-16 14:09:21 -0800 |
commit | 920cb81f6c6d9ce57c51a6df8fdc99b0d00f4c3a (patch) | |
tree | e1bd211d4f92c0f2aa5b8840f5b6d0275388e95c | |
parent | 454f7f0256b2edf3a8a0dabfdacf82f65bde43c4 (diff) | |
download | psych-920cb81f6c6d9ce57c51a6df8fdc99b0d00f4c3a.zip |
* 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
-rw-r--r-- | CHANGELOG.rdoc | 8 | ||||
-rw-r--r-- | test/psych/test_yaml.rb | 2 | ||||
-rw-r--r-- | test/psych/visitors/test_to_ruby.rb | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index e84a2f5..8a8e03e 100644 --- a/CHANGELOG.rdoc +++ b/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 diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb index 807c058..796a44f 100644 --- a/test/psych/test_yaml.rb +++ b/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$ # diff --git a/test/psych/visitors/test_to_ruby.rb b/test/psych/visitors/test_to_ruby.rb index 5b0702c..ee473c9 100644 --- a/test/psych/visitors/test_to_ruby.rb +++ b/test/psych/visitors/test_to_ruby.rb @@ -1,3 +1,4 @@ +# coding: US-ASCII require 'psych/helper' module Psych |