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:
parent
c834d2ab25
commit
674d67f312
5 changed files with 80 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue