Fixed encoding problem with regatta and race names

This commit is contained in:
Vladislav Chumak
2019-02-18 15:48:07 +01:00
parent 501248a784
commit 9c446c9a8a
@@ -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());
}