Update grit_ext.rb

For sometimes encoding return wrong and CharlockHolmes check is not right
Merge pull request #1 from yehaha9876/patch-1

Update grit_ext.rb