modify certdata2pem.rb in doc-jp/README.SSL, assume the encoding of the certdata.txt to be UTF-8

This commit is contained in:
yshl
2015-06-27 16:33:39 +09:00
parent b685e68ae7
commit e8db7ca945

View File

@@ -85,6 +85,9 @@ SSL
#
# certdata2pem.rb
if RUBY_VERSION>="1.9"
Encoding.default_external="UTF-8"
end
while line = $stdin.gets
next if line =~ /^#/
next if line =~ /^\s*$/