From db155ca0a82ea2216ad4b3cdfafde0efce0a4d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 25 Aug 2017 20:38:42 +0200 Subject: Facebook: Fix encoding issue when parsing newsfeeds with empty attachment (address #803) --- protocols/FacebookRM/src/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index a877f4e6ab..2a60d15060 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -608,7 +608,7 @@ void parseFeeds(const std::string &text, std::vector &news, if (post_attachment.empty()) { // This is some textless attachment, so mention it - post_attachment = Translate(""); + post_attachment = ptrA(mir_utf8encode(Translate(""))); } } -- cgit v1.2.3