Here you can find the source of unescapeString(String txt)
private static String unescapeString(String txt)
//package com.java2s; //License from project: Open Source License public class Main { private static String unescapeString(String txt) { txt = txt.replace("&xd;", "\r"); txt = txt.replace("&xa;", "\n"); return txt; }/* w w w . j a va 2 s. co m*/ }