I\'m writing a Ruby script to process a large text file, and keep getting an odd encoding error. Here\'s the situation:
input_data = File.new(in_path, \'r\').rea
Please try this one:-
input_data = File.open("path/your_file.pdf", "rb") {|io| io.read}
Thanks