Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Read JS files as UTF-8. Fixes #198

  • Loading branch information...
commit 8f1d6eb0e6a7a806153f2ad976557829a8c72c3f 1 parent 3dedc9d
@fabrikagency fabrikagency authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jammit/compressor.rb
View
2  lib/jammit/compressor.rb
@@ -246,7 +246,7 @@ def concatenate(paths)
# `File.read`, but in "binary" mode.
def read_binary_file(path)
- File.open(path, 'rb') {|f| f.read }
+ File.open(path, 'rb:UTF-8') {|f| f.read }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.