Added first round of utf-8 support
Merge pull request #283 from shenrie/master

Added first round of utf-8 support