mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 18:33:54 +00:00
changed encoding to UTF-8 for manage2sail importer to override the cp1252 default VM encoding
This commit is contained in:
1 parent
9037de0196
commit
4ff0517bcf
1 file changed
+1
-1
+1
-1
@@ -25,7 +25,7 @@ public class Manage2SailEventResultsParser {
|
||||
public EventResultDescriptor getEventResult(InputStream is) throws IOException {
|
||||
EventResultDescriptor result = null;
|
||||
try {
|
||||
JSONObject jsonRoot = (JSONObject) new JSONParser().parse(new InputStreamReader(is));
|
||||
JSONObject jsonRoot = (JSONObject) new JSONParser().parse(new InputStreamReader(is, "UTF-8"));
|
||||
result = new EventResultDescriptor();
|
||||
result.setId((String) jsonRoot.get("Id"));
|
||||
result.setIsafId((String) jsonRoot.get("IsafId"));
|
||||
|
||||
Reference in new issue
Block a user