mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-06-30 21:55:32 +02:00
Merge pull request #78 from XePeleato/master-clean
Fix encoding for appended strings
This commit is contained in:
commit
190efed07a
|
@ -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);
|
||||
|
@ -617,4 +617,4 @@ public class HPacket implements StringifyAble {
|
|||
System.out.println(packetverify.toString().equals(packet.toString()));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user