fix warning: variable $KCODE is no longer effective on ruby 1.9
Merge pull request #2 from subosito/master

Fix warning: variable $KCODE is no longer effective on ruby 1.9