Default script encoding is now UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4fb73c8fb4
commit
df425a015a
@ -162,7 +162,7 @@ module Test
|
||||
code.sub!(/\A(?:\xef\xbb\xbf)?(\s*\#.*$)*(\n)?/n) {
|
||||
"#$&#{"\n" if $1 && !$2}BEGIN{throw tag, :ok}\n"
|
||||
}
|
||||
code.force_encoding("us-ascii")
|
||||
code.force_encoding(Encoding::UTF_8)
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
yield if defined?(yield)
|
||||
case
|
||||
|
Loading…
x
Reference in New Issue
Block a user