Merge pull request #18361 from zimbatm/ruby-utf8
buildRubyGem: fixes gemspec UTF-8 loading issue
This commit is contained in:
commit
6f1383686a
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,11 @@ require 'fileutils'
|
|||
require 'pathname'
|
||||
require 'tmpdir'
|
||||
|
||||
if defined?(Encoding.default_internal)
|
||||
Encoding.default_internal = Encoding::UTF_8
|
||||
Encoding.default_external = Encoding::UTF_8
|
||||
end
|
||||
|
||||
# Options:
|
||||
#
|
||||
# name - the gem name
|
||||
|
|
Loading…
Reference in a new issue