我正在尝试使用 wxWidgets 读取 xml 文件。通常,文件中的文本会被完全解析。所以这就&变成了&等等。
如果我解码一些文本,因为它是 base64,仍然所有转义都被完全解析。现在我想要一个字符串wxT("&")也显示为"&". 有没有办法做到这一点?
You search the string for the "&" and replace it with "&".
If using std::string this can be done with the find and replace methods.