Reputation: 1824
I am reading the following String from a file:
a \\u0645 b
I want to process is so that when it is printed to the console it looks like:
a م b
How can I do that?
Upvotes: 0
Views: 74
Reputation: 16060
I think you will need to decode it two times. Try to use StringEscapeUtils.unescapeJava()
Upvotes: 1