fix a charset decoding bug
Merge pull request #201 from allenhsu/master

fix a charset decoding bug