diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-25 07:55:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-25 07:55:58 +0000 |
commit | 861b7d781eb4e1d0eb2b3862bcf48e0cfc564a40 (patch) | |
tree | 1240155664facee268d1324ab4b2050489912b90 | |
parent | ad989e5521172a9e51f7cbc1b568faf500bdcf24 (diff) |
fix encoding spec
"UTF-8" is invalid encoding name in Emacs, use "utf-8" instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/erb.rb | 2 | ||||
-rw-r--r-- | test/erb/test_erb_m17n.rb | 2 | ||||
-rw-r--r-- | test/psych/test_yamldbm.rb | 2 | ||||
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 1 |
4 files changed, 2 insertions, 5 deletions
diff --git a/lib/erb.rb b/lib/erb.rb index 3c3cabe209..9c32131288 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -68,7 +68,7 @@ require "cgi/util" # a magic comment, however, it returns a string in the encoding specified # by the magic comment. # -# # -*- coding: UTF-8 -*- +# # -*- coding: utf-8 -*- # require 'erb' # # template = ERB.new <<EOF diff --git a/test/erb/test_erb_m17n.rb b/test/erb/test_erb_m17n.rb index ff49228c26..f60dd103f6 100644 --- a/test/erb/test_erb_m17n.rb +++ b/test/erb/test_erb_m17n.rb @@ -1,4 +1,4 @@ -# -*- coding: UTF-8 -*- +# -*- coding: utf-8 -*- require 'test/unit' require 'erb' diff --git a/test/psych/test_yamldbm.rb b/test/psych/test_yamldbm.rb index 23c7c9e564..785365841e 100644 --- a/test/psych/test_yamldbm.rb +++ b/test/psych/test_yamldbm.rb @@ -1,5 +1,3 @@ -# -*- coding: UTF-8 -*- - require_relative 'helper' require 'tmpdir' diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 1afb5ba247..e1c6a1b549 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -1,4 +1,3 @@ -# -*- coding: UTF-8 -*- require 'rubygems/test_case' require 'pathname' require 'stringio' |