From cdf527e3ab1f351cc0c02d7548f4814be2776960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sat, 1 Mar 2014 12:23:33 +0000 Subject: Facebook: Fix encoding of "unsupported attachment" message git-svn-id: http://svn.miranda-ng.org/main/trunk@8344 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/json.cpp') diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index ad651a6bc5..7a06f5099f 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -347,7 +347,7 @@ void parseAttachments(FacebookProto *proto, std::string *message_text, JSONNODE *message_text += attachments_text; } else { // TODO: better support for these attachments (parse it from "m_messaging" instead of "messaging" - *message_text += Translate("User sent you an unsupported attachment. Open your browser to see it."); + *message_text += ptrA(mir_utf8encodeT(TranslateT("User sent you an unsupported attachment. Open your browser to see it."))); } } } -- cgit v1.2.3