问题
I am reading line by line from standard input with Scanner, then i print these lines to standard output. But, i need to convert escaped Unicode characters like \u00fd to actual character. Is there any way how to do it?
回答1:
I recommend http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/StringEscapeUtils.html.
来源:https://stackoverflow.com/questions/5479728/unescape-unicode-from-input