We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3dedc9d + 8f1d6eb commit 85322d8Copy full SHA for 85322d8
1 file changed
lib/jammit/compressor.rb
@@ -246,7 +246,7 @@ def concatenate(paths)
246
247
# `File.read`, but in "binary" mode.
248
def read_binary_file(path)
249
- File.open(path, 'rb') {|f| f.read }
+ File.open(path, 'rb:UTF-8') {|f| f.read }
250
end
251
252
0 commit comments