use utf8buffer to replace the std::string in addon