views:

265

answers:

3

I have a large amount of data in a database. When I attempt to read a certain portion of the data and generate some xml and send it to a webservice I get the following exception...

The char '0x8' in 'java.lang.IllegalArgumentException'.

I'm guessing it is some bad data, as it has worked perfectly for about 7 months but now some user uploaded some new data that seems to have some issues.

Anyone know what character this is so I can just run a sql query and clean it from the db? Thanks in advance.

+5  A: 

8 is usually a backspace.

No Refunds No Returns
It's also CTRL-H, BTW.
Laurence Gonsalves
+7  A: 

The ASCII Character 0x08 (or 8) would be the Backspace character.ASCII Map

NebuSoft
+1 for pointing out that the meaning of 0x08 depends on the charset.
Malax
A: 

You can convert into Binary Base64 while storing data into XML to solve these issues.

Surya