public void setTechTypePath(String path) {
String data;
try {
- data = Files.lines(Paths.get(path)).collect(Collectors.joining("\n"));
+ data = Files.lines(Paths.get(path), Charset.defaultCharset()).collect(Collectors.joining("\n"));
} catch (IOException e) {
LOGGER.error("Failed to read contents of file '{}' as {}", path, Charset.defaultCharset(), e);
return;