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

This provides a method for a user to explicitly open log file with a specific encoding.  If no encoding passed to command, then it opens file normally, without specifying encoding.


Example:
check-log.rb -f /var/log/testing.log -s /tmp -q 'This is a test String' -e 'r:iso8859-1'

http://stackoverflow.com/a/15507882

-
jake herbst
jmherbst@gmail.com