fixed #1855: std_string_to_jsval generates messy js string when passing non-ascii UTF8 std::string.
Merge pull request #2244 from dumganhar/master

fixed #1855: std_string_to_jsval generates messy js string when passing non-ascii UTF8 std::string.