handle mutf-8 (modified utf-8) properly
fix test code to pass the test on the 1.9 environments
Merge pull request #21 from bearmini/master

added mutf-8 (modified utf-8) support