forked from blallo/rss-bridge
Merge pull request #283 from teromene/pmaziere-YoutubeBridgeFix
Pull request from pmaziere - Fix encoding in YoutubeBridge.
This commit is contained in:
commit
66c79e4b67
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class YoutubeBridge extends BridgeAbstract {
|
||||||
|
|
||||||
private function ytBridgeFixTitle($title) {
|
private function ytBridgeFixTitle($title) {
|
||||||
// convert both Ӓ and " to UTF-8
|
// convert both Ӓ and " to UTF-8
|
||||||
return html_entity_decode(mb_convert_encoding(trim($title), 'UTF-8', 'HTML-ENTITIES'));
|
return html_entity_decode($title,ENT_QUOTES,'UTF-8');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function collectData(array $param) {
|
public function collectData(array $param) {
|
||||||
|
|
Loading…
Reference in a new issue