summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-02 21:49:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-02 21:49:45 +0300
commitf8ea9b4270a735cf5e5ff42e25143107545bd50c (patch)
tree1d261aed9903a587c4a327bd703c56c768bea207
parentccfcd1eb3f10fa0aebbd871e295e6f2f9f0d1b0d (diff)
fixes #365 (Cyrilliс chars in EMLan)
-rw-r--r--protocols/EmLanProto/src/mlan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp
index 097ddcdf89..439ab65820 100644
--- a/protocols/EmLanProto/src/mlan.cpp
+++ b/protocols/EmLanProto/src/mlan.cpp
@@ -515,7 +515,7 @@ void CMLan::SendMessageExt(TDataHolder* hold)
TPacket pak;
memset(&pak, 0, sizeof(pak));
u_long addr = db_get_dw(hold->hContact, PROTONAME, "ipaddr", 0);
- pak.strMessage = hold->msg;
+ pak.strMessage = mir_utf8decode(hold->msg, 0);
pak.idMessage = hold->id;
if (hold->op == LEXT_SENDURL)
pak.flIsUrl = true;