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.
解决方案
8 is usually a backspace.
我在数据库中有大量的数据。当我尝试读取数据的某一部分并生成一些xml并将其发送到webservice时,我得到以下异常...
字符'0x8'在'java.lang.IllegalArgumentException'。
我猜这是一些不好的数据,因为它已经工作了7个月左右,但现在有些用户上传了一些似乎有一些问题的新数据。
任何人都知道这是什么字符,所以我可以只运行一个sql查询并从db清除它?提前感谢。
解决方案
8通常是退格。