mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 08:28:46 +00:00
fix encoding issues
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
040f4da73d
commit
06f8b61f62
@ -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 New Issue
Block a user