Name: In set and fromEscapedString, support std::string as well as char *.