Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/har/archive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def self.from_string(str, uri = nil)
def self.from_file(path_or_io)
case path_or_io
when String
from_string File.read(path_or_io), path_or_io
from_string File.read(path_or_io, :encoding => 'utf-8'), path_or_io
when IO
from_string path_or_io.read, path_or_io.to_s
else
Expand Down