Fix UTF-8 build issue in JRuby

This commit is contained in:
hartator 2015-11-05 16:33:29 -06:00
parent 2a99d39507
commit 95655b1263

View File

@ -27,6 +27,7 @@ class WaybackMachineDownloader
file_list_curated = Hash.new file_list_curated = Hash.new
[index_file_list_raw, all_file_list_raw].each do |file| [index_file_list_raw, all_file_list_raw].each do |file|
file.each_line do |line| file.each_line do |line|
line = line.tidy_bytes
line = line.split(' ') line = line.split(' ')
file_timestamp = line[1].to_i file_timestamp = line[1].to_i
file_url = line[2] file_url = line[2]