My Tech Notes
Search This Blog
Java: Remove illegal character 0x0 from string
Unicode 0x0 is illegal in XML.
str.replaceAll("[\\000]+", "")
1 comment:
Pedro Araujo Rosa
July 1, 2021 at 10:24 AM
Very useful. Thank you.
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Very useful. Thank you.
ReplyDelete