문제

I'm currently using boost::spirit::xml::encode function to encode a given std::string to xml. But this function doesn't work for std::wstring.

Is there any equivalent for this that works for wide strings as well?

도움이 되었습니까?

해결책

It works for Wide strings since all the XML-important wide characters map to the single byte ones.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top