2
Parsen habe ich einen String wie untenJsoup Unicode entites Umwandlung Einheiten html während
String input="<div class="prov2Txt">(2)  Notwithstanding anything in any other written law and notwithstanding the making of an oath or declaration of secrecy, a person shall not be guilty of an offence by reason of anything done by him for the purposes of section 6.</div>";
Und ich bin Parsen mit JSOUP dann Jsoup Alle Unicode-Einheiten ( 
) entfernt Entität in HTML.
Document d = Jsoup.parse(input);
d.outputSettings(new Document.OutputSettings().prettyPrint(false));
Dieser Code konvertiert  
seiner equvailent HTML-Entität.
Jetzt möchte ich alle Unicode-Entitäten beibehalten, wie es nach dem Parsen der Eingabezeichenfolge ist.
Ich habe alles versucht.Dont für mich 'document.outputSettings (new Document.OutputSettings(). PrettyPrint (false)); document.outputSettings (neues Document.OutputSettings()); // Escape-Modus anpassen document.outputSettings(). EscapeMode(); ' –
@vinaykaushik Ich sehe den Beispielcode in der Antwort nicht. Hast Du es versucht? – Stephan
Ja, ich habe es versucht. –