support encoding and decoding of utf-8 characters
Merge pull request #147 from Avinash-Bhat/fix/utf-8-support

support encoding and decoding of utf-8 characters