summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-08-25 20:38:42 +0200
committerRobert Pösel <robyer@seznam.cz>2017-08-25 20:38:42 +0200
commitdb155ca0a82ea2216ad4b3cdfafde0efce0a4d0b (patch)
treeade380d893721437513d622e0c14e454739f59ec
parentd60c723ec544b2ffde19a7017a75758ce696898c (diff)
Facebook: Fix encoding issue when parsing newsfeeds with empty attachment (address #803)
-rw-r--r--protocols/FacebookRM/src/process.cpp2
1 files changed, 1 insertions, 1 deletions
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<facebook_newsfeed *> &news,
if (post_attachment.empty()) {
// This is some textless attachment, so mention it
- post_attachment = Translate("<attachment without text>");
+ post_attachment = ptrA(mir_utf8encode(Translate("<attachment without text>")));
}
}