From 9c446c9a8a895acc73aeec766ae391df8b4ebcde Mon Sep 17 00:00:00 2001 From: Vladislav Chumak Date: Mon, 18 Feb 2019 15:48:07 +0100 Subject: [PATCH] Fixed encoding problem with regatta and race names --- .../windestimation/data/importer/ManeuverAndWindImporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/com.sap.sailing.windestimation.lab/src/com/sap/sailing/windestimation/data/importer/ManeuverAndWindImporter.java b/java/com.sap.sailing.windestimation.lab/src/com/sap/sailing/windestimation/data/importer/ManeuverAndWindImporter.java index e4e70e150ab..24f3b4b47e3 100644 --- a/java/com.sap.sailing.windestimation.lab/src/com/sap/sailing/windestimation/data/importer/ManeuverAndWindImporter.java +++ b/java/com.sap.sailing.windestimation.lab/src/com/sap/sailing/windestimation/data/importer/ManeuverAndWindImporter.java @@ -365,7 +365,7 @@ public class ManeuverAndWindImporter { final Header contentEncoding = response.getEntity().getContentEncoding(); final Reader reader; if (contentEncoding == null) { - reader = new InputStreamReader(response.getEntity().getContent()); + reader = new InputStreamReader(response.getEntity().getContent(), "UTF-8"); } else { reader = new InputStreamReader(response.getEntity().getContent(), contentEncoding.getValue()); }