From 58ef0f06c6f6fcc4f6a0d31ade430d87ef9d968d Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 6 Nov 2012 00:49:57 +0000 Subject: * 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 --- test/ruby/test_parse.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby/test_parse.rb') diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index 8623960b42..319af751d0 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -1,3 +1,4 @@ +# coding: US-ASCII require 'test/unit' require 'stringio' -- cgit v1.2.3