I'm building a web service.
Some one put illegal characters into our database.
Now when I try to retrieve those strings and send them via a webservice, the client chokes.
I get an error such as :
com.sun.xml.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.UnmarshalException
- with linked exception:
[com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 18))
How can I remove this character in Java?