modify certdata2pem.rb in doc-jp/README.SSL, assume the encoding of the certdata.txt to be UTF-8
This commit is contained in:
@@ -85,6 +85,9 @@ SSL
|
|||||||
#
|
#
|
||||||
# certdata2pem.rb
|
# certdata2pem.rb
|
||||||
|
|
||||||
|
if RUBY_VERSION>="1.9"
|
||||||
|
Encoding.default_external="UTF-8"
|
||||||
|
end
|
||||||
while line = $stdin.gets
|
while line = $stdin.gets
|
||||||
next if line =~ /^#/
|
next if line =~ /^#/
|
||||||
next if line =~ /^\s*$/
|
next if line =~ /^\s*$/
|
||||||
|
Reference in New Issue
Block a user