fixed youtube-dl download items not showing up in centos7 snap installation
This commit is contained in:
@@ -46,7 +46,7 @@ class Youtube
|
||||
}
|
||||
}
|
||||
}
|
||||
if (empty($lang = getenv('LANG')) || strpos(strtolower($lang), 'utf-8') === false) {
|
||||
if (empty($lang = getenv('LANG')) || strpos(strtolower($lang), 'c.utf-8') === false) {
|
||||
$lang = 'C.UTF-8';
|
||||
}
|
||||
$this->setEnv('LANG', $lang);
|
||||
|
||||
Reference in New Issue
Block a user