字符“0x8”这是什么角色?
我的数据库中有大量数据。当我尝试读取数据的某个部分并生成一些 xml 并将其发送到 Web 服务时,我收到以下异常...
“java.lang.IllegalArgumentException”中的字符“0x8”。
我猜这是一些坏数据,因为它已经完美运行了大约 7 个月,但现在一些用户上传了一些似乎存在一些问题的新数据。
有人知道这是什么字符,这样我就可以运行 SQL 查询并将其从数据库中清除吗?提前致谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
8 通常是退格键。
8 is usually a backspace.
ASCII 字符 0x08(或 8)将是退格字符。ASCII 映射
The ASCII Character 0x08 (or 8) would be the Backspace character.ASCII Map
您可以在将数据存储为 XML 的同时转换为 Binary Base64 来解决这些问题。
You can convert into Binary Base64 while storing data into XML to solve these issues.