summaryrefslogtreecommitdiffstats
path: root/db/item.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-03-24 14:33:37 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-03-24 14:33:37 +0100
commitf1f769a37e37fdcf0549d135e967fe840b10976e (patch)
tree506582646d99f0ab9a2ee5c1de40bd8f639e6a25 /db/item.php
parentd3785b5042d5cb8699e1b1748317d7032ad3575d (diff)
explicitely use utf-8 encoding
Diffstat (limited to 'db/item.php')
-rw-r--r--db/item.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php
index a5daacc65..153414c93 100644
--- a/db/item.php
+++ b/db/item.php
@@ -220,7 +220,8 @@ class Item extends Entity implements IAPI, \JsonSerializable {
html_entity_decode(strip_tags($this->getBody())) .
html_entity_decode($this->getAuthor()) .
html_entity_decode($this->getTitle()) .
- $this->getUrl()
+ $this->getUrl(),
+ 'UTF-8'
)
);
$this->setFingerprint($this->computeFingerprint());