unescape unicode from input

前端 未结 1 1972
慢半拍i
慢半拍i 2020-12-22 02:24

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 ac

相关标签:
1条回答
  • 2020-12-22 03:16

    I recommend http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/StringEscapeUtils.html.

    0 讨论(0)
提交回复
热议问题