Fix encoding issues
git-svn-id: file:///home/svn/framework3/trunk@11855 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
261ab6c014
commit
df937d6245
|
@ -15,6 +15,11 @@ def usage
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Force binary encoding for Ruby versions that support it
|
||||||
|
if(Object.const_defined?('Encoding') and Encoding.respond_to?('default_external='))
|
||||||
|
Encoding.default_external = Encoding.default_internal = "binary"
|
||||||
|
end
|
||||||
|
|
||||||
dump = ARGV.shift || usage()
|
dump = ARGV.shift || usage()
|
||||||
list = ARGV.shift || File.join(File.dirname(__FILE__), "..", "data", "wordlists", "vxworks_collide_20.txt")
|
list = ARGV.shift || File.join(File.dirname(__FILE__), "..", "data", "wordlists", "vxworks_collide_20.txt")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue