diff options
author | emkael <emkael@tlen.pl> | 2019-06-13 00:41:26 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-13 00:41:26 +0200 |
commit | d638b1a5f102d2aa7a3b0f06f070eaf2ac1a499a (patch) | |
tree | b92e18d5ac1bfff9f55ca62a3e0cb4efc0c54997 /providers | |
parent | cf27fd41f2cf3a61e7103a2311f123b0035fbf9c (diff) |
Decoding UTF-8 in FB metadata
Diffstat (limited to 'providers')
-rw-r--r-- | providers/Facebook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/Facebook.php b/providers/Facebook.php index ed9f8f1..24645c7 100644 --- a/providers/Facebook.php +++ b/providers/Facebook.php @@ -41,7 +41,7 @@ class Facebook extends \Providers\HtmlFeed { $key = $data['story_fbid']; $texts = []; foreach ($header->find('p, h3') as $paragraph) { - $texts[] = $paragraph->text(); + $texts[] = utf8_decode($paragraph->text()); } if (isset($this->_options['dump'])) { print_r($data); |