Added test for encoding brackets.
Added test for encoding brackets.

Which unfortunately fail with the XML codec.

worldforge/atlas-cpp,worldforge/atlas-cpp,worldforge/atlas-cpp,worldforge/atlas-cpp,worldforge/atlas-cpp,worldforge/atlas-cpp