I am using JAXP to generate and parse an XML document from which some fields are loaded from a database.
Code to serialize the XML:
DocumentBuilder b
Well, for sure 0xFC and 0xF6 are not valid UTF-8 characters. These should have been finnesed to the two byte sequences: 0x3CBC and 0x3CB6.
0xFC
0xF6
UTF-8
0x3CBC
0x3CB6
Most likely the problem is with the original source of the characters being defined as UTF-8 when they are not.