From 1d9e3c88c6a4930241d82812c299a31b739c1aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 5 Aug 2013 12:36:30 +0000 Subject: Facebook: utf8 fix git-svn-id: http://svn.miranda-ng.org/main/trunk@5590 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 311150c385..b7570bae9a 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -311,7 +311,7 @@ void parseAttachments(FacebookProto *proto, std::string *message_text, JSONNODE char title[200]; mir_snprintf(title, SIZEOF(title), Translate("User sent you %s:"), type.c_str()); - *message_text += title; + *message_text += ptrA(mir_utf8encode(title)); *message_text += attachments_text; } } -- cgit v1.2.3