1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Encode high codepoints as surrogates to safely transport wchar_t over network

fixes #7643
This commit is contained in:
sfan5 2021-01-29 15:24:07 +01:00
parent c834d2ab25
commit 674d67f312
5 changed files with 80 additions and 26 deletions

View file

@ -34,7 +34,7 @@ public:
~NetworkPacket();
void putRawPacket(u8 *data, u32 datasize, session_t peer_id);
void putRawPacket(const u8 *data, u32 datasize, session_t peer_id);
void clear();
// Getters