mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-24 22:48:34 +00:00
Fixed encoding problem with regatta and race names
This commit is contained in:
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user