This commit is contained in:
Daniella / Tove 2023-10-11 16:39:47 +02:00
parent 3f21637876
commit bee661a3f3
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
4 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ public class Key {
} }
public Key(byte[] key) { public Key(byte[] key) {
string = new String(key); string = new String(key, StandardCharsets.ISO_8859_1);
} }
public void setDebug(boolean debug) { public void setDebug(boolean debug) {

View file

@ -18,7 +18,7 @@ public class Key {
} }
public Key(byte[] key) { public Key(byte[] key) {
string = new String(key); string = new String(key, StandardCharsets.ISO_8859_1);
} }
public Key(String key) { public Key(String key) {

View file

@ -24,7 +24,7 @@ public class Key {
} }
public Key(byte[] key) { public Key(byte[] key) {
string = new String(key); string = new String(key, StandardCharsets.ISO_8859_1);
} }

View file

@ -23,7 +23,7 @@ public class Key {
} }
public Key(byte[] keyData) { public Key(byte[] keyData) {
string = new String(keyData); string = new String(keyData, StandardCharsets.ISO_8859_1);
} }
public void setDebug(boolean debug) { public void setDebug(boolean debug) {