Kenji Okimoto
null****@okkez*****
2013年 11月 21日 (木) 10:14:02 JST
Kenji Okimoto 2013-11-21 10:14:02 +0900 (Thu, 21 Nov 2013) New Revision: 4d2f0dc32e454b027c5408d929777e87836dc72c https://github.com/hiki/hiki/commit/4d2f0dc32e454b027c5408d929777e87836dc72c Message: Remove trailing white spaces Modified files: tool/convert.rb Modified: tool/convert.rb (+1 -1) =================================================================== --- tool/convert.rb 2013-11-19 20:56:48 +0900 (18ea0c8) +++ tool/convert.rb 2013-11-21 10:14:02 +0900 (d2e2bac) @@ -46,7 +46,7 @@ def convert(data_path, database_class, input_encoding, output_encoding, nkf) if Dir.exist? attach_path + Hiki::Util.escape(old_page) Dir.glob("#{attach_path}#{Hiki::Util.escape(old_page)}/*").each do |old_file_fullpath| old_file = File.basename(old_file_fullpath) - new_file = Hiki::Util.escape(encode(Hiki::Util.unescape(old_file), + new_file = Hiki::Util.escape(encode(Hiki::Util.unescape(old_file), input_encoding, output_encoding, nkf)) new_file_fullpath = "#{attach_path}#{Hiki::Util.escape(old_page)}/#{new_file}" if old_file != new_file