changed encoding to UTF-8 for manage2sail importer to override the cp1252 default VM encoding

This commit is contained in:
Axel Uhl committed 2013-07-22 12:16:33 +02:00
1 parent 9037de0196
commit 4ff0517bcf
1 file changed
+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"));