Using UTF-8 encoding for PrivateKeyFileResource (Fixes #413)

This commit is contained in:
Jeroen van Erp
2018-04-30 09:30:00 +02:00
parent 10918f3201
commit 329966ecc4

View File

@@ -27,6 +27,6 @@ public class PrivateKeyFileResource
@Override
public Reader getReader()
throws IOException {
return new InputStreamReader(new FileInputStream(getDetail()));
return new InputStreamReader(new FileInputStream(getDetail()), "UTF-8");
}
}