Merge pull request #78 from XePeleato/master-clean

Fix encoding for appended strings
This commit is contained in:
sirjonasxx 2021-01-17 05:01:36 +01:00 committed by GitHub
commit 190efed07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -515,7 +515,7 @@ public class HPacket implements StringifyAble {
appendInt((Integer)o);
}
else if (o instanceof String) {
appendString((String)o);
appendString((String)o, StandardCharsets.UTF_8);
}
else if (o instanceof Boolean) {
appendBoolean((Boolean) o);