Added encoding page option to check-log.rb -- this provides a method for user to explicitly open log file with a specific encoding
Changed the encoding conditional to use r:(read) for when an incoding is passed
removed trailing whitespace from empty line
Merge pull request #336 from jmherbst/master

Added option to specify encoding page for check-log.rb