nah :) you can't just remove them. convert them to something like `\0000` and then back. You can also use `StringEscapeUtils` from commons-lang3