Closed floscher closed 6 years ago
@don-vip Thanks for the tip, didn't know that.
@maripo If you want to be able to read any UTF-encoded file, you could replace new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8)
with UTFInputStreamReader.create(new FileInputStream(file))
. My solution only cares about UTF8-encoded files.
Actually we have
org.openstreetmap.josm.io.UTFInputStreamReader