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:
parent
ecfa568774
commit
410c402dd6
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user