Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Is youtube-dl not support special characters? #2644
Comments
|
youtube-dl supports special characters just fine. However, it looks like your application does not. This program fine for me:
Because you're not dealing with any files, To diagnose your problem, make sure you use the same character encoding everywhere, if possible UTF-8. You can run youtube-dl with the
In the line starting with Secondly, make sure that you don't mangle the title in your application. Just echoing should be fine. You can also pipe the output through Thirdly, make sure that your website uses UTF-8. Its source code should contain the line
By the way, you should really use |
Basically i just get title of video.
$title = exec("youtube-dl ".$url." --restrict-filenames -e");
but this not give special characters or non-english characters. just "�" giving. i want to get same title and description characters.
thanks.