Gubaer / josm-scripting-plugin

Task automation in the OpenStreetMap editor JOSM
https://gubaer.github.io/josm-scripting-plugin
GNU General Public License v3.0
26 stars 9 forks source link

Read files with UTF-8 encoding instead of platform encoding #77

Closed floscher closed 6 years ago

floscher commented 6 years ago

Previously several parts of the code use a FileReader for reading files, so the default platform encoding was used. Now UTF-8 is used regardless of platform. Also the IOUtils are dropped and the parts of the code that used the IOUtils now use try-with blocks.

This should fix #76.