1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Try to fix windows encoding

This commit is contained in:
nordsoft 2022-10-30 22:53:05 +04:00
parent ecfa568774
commit 410c402dd6

View File

@ -6,7 +6,11 @@
#include <QAbstractSocket>
const unsigned int ProtocolVersion = 1;
#ifdef VCMI_WINDOWS
const std::string ProtocolEncoding = "utf16";
#else
const std::string ProtocolEncoding = "utf8";
#endif
class ProtocolError: public std::runtime_error
{