diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 00:49:57 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 00:49:57 +0000 |
commit | 58ef0f06c6f6fcc4f6a0d31ade430d87ef9d968d (patch) | |
tree | 093a990de85f3b383db90c2c9d82c66bc98f63a1 /test/psych | |
parent | c9fc6b08ae515a22293a4a44fe1f0d8452b88183 (diff) | |
download | bundler-58ef0f06c6f6fcc4f6a0d31ade430d87ef9d968d.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych')
-rw-r--r-- | test/psych/test_yaml.rb | 2 | ||||
-rw-r--r-- | test/psych/visitors/test_to_ruby.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb index 807c058d2e..796a44fa2b 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 5b0702cf1a..ee473c9ba2 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 |