-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Overview
It seems that the character set of a resource is not taken into account. Here is a simple test case with ISO8859-1 encoding.
URL url = new URL("https://opendata.zitsh.de/frictionless/haltestellen-smartes-dorfshuttle-stand-01-2022.json");
String jsonString = new Scanner(url.openStream()).useDelimiter("\\A").next();
ObjectNode resourceJson = (ObjectNode) JsonUtil.getInstance().createNode(jsonString);
Resource resource = Resource.build(resourceJson, null, false);
Iterator<String[]> iter = resource.stringArrayIterator();
while(iter.hasNext()) {
System.out.println(Arrays.toString(iter.next()));
}
Please preserve this line to notify @iSnow (lead of this repository)