commit | e6de91822163eb4e3b7a9498ccb581cb3c49fa9d | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Fri May 07 12:39:54 2021 +0200 |
committer | Akron <nils@diewald-online.de> | Mon May 31 10:41:08 2021 +0200 |
tree | 7f743545731624bf32e02980dfab88d517e58e54 | |
parent | 235671b7b593cc948a2145124847ad7e04786e7e [diff] |
Improve charset encoder Change-Id: I833b5cee3044dc47712f528327908096f714966a
diff --git a/src/main/java/de/ids_mannheim/korap/plkexport/RtfExporter.java b/src/main/java/de/ids_mannheim/korap/plkexport/RtfExporter.java index 8422ca7..edc20cc 100644 --- a/src/main/java/de/ids_mannheim/korap/plkexport/RtfExporter.java +++ b/src/main/java/de/ids_mannheim/korap/plkexport/RtfExporter.java
@@ -275,6 +275,8 @@ if (rawText == null) return; + charsetEncoder.reset(); + char c; for (int i = 0; i < rawText.length(); i++) { c = rawText.charAt( i );