You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/tdecore/tests/kcharsetstest.cpp

13 lines
226 B

#include <kcharsets.h>
#include <assert.h>
int main()
{
TQString input( "&lt;Hello &amp;World&gt;" );
TQString output = KCharsets::resolveEntities( input );
assert( output == "<Hello &World>" );
return 0;
}