summaryrefslogtreecommitdiffstats
path: root/tdecore/tests/kcharsetstest.cpp
blob: 09b9486c0f96a130e017c51ab92b72ea87aef886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#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;
}