From e8db7ca945c2a5f70aab11f13ca94a1e643b9ecb Mon Sep 17 00:00:00 2001 From: yshl Date: Sat, 27 Jun 2015 16:33:39 +0900 Subject: modify certdata2pem.rb in doc-jp/README.SSL, assume the encoding of the certdata.txt to be UTF-8 --- doc-jp/README.SSL | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc-jp/README.SSL b/doc-jp/README.SSL index 670ed5f..47d5fd6 100644 --- a/doc-jp/README.SSL +++ b/doc-jp/README.SSL @@ -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*$/ -- cgit v1.2.3