Skip to content

Commit

Permalink
Set default external encoding to UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Collins committed Dec 10, 2018
1 parent f41a770 commit e9de794
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/brakeman
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#Adjust path in case called directly and not through gem
$:.unshift "#{File.expand_path(File.dirname(__FILE__))}/../lib"

Encoding.default_external = 'UTF-8'

require 'brakeman'
require 'brakeman/commandline'

Expand Down

0 comments on commit e9de794

Please sign in to comment.