brianmario/charlock_holmes — pull request #12 by Holek (2012-04-18 15:56:19+00:00)
Title: fix for detect_encoding returning a hash without :encoding key

this can happen for binary strings, or strings that appear as binary:

````
ruby-1.9.3-p125-perf :017 > "BEGIN:VCARD\n".detect_encoding
=> {:type=>:binary, :confidence=>100}
````