mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-07 15:50:57 +03:00
Using UTF-8 encoding for PrivateKeyFileResource (Fixes #413)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user