SyntaxFix
Write A Post
Hire A Developer
Questions
This solved my problem
String inputText = "some text with escaped chars" InputStream is = new ByteArrayInputStream(inputText.getBytes("UTF-8"));