yt-dl now loads with LC_ALL=en_US.UTF-8

This commit is contained in:
Nils Pukropp committed 2021-06-19 04:07:36 +02:00
1 parent 964845f084
commit eacdceaaaf
1 file changed
+1
+1
View File
@@ -209,6 +209,7 @@ impl YoutubeDL {
fn spawn_youtube_dl(&self) -> Result<Output, Error> {
let mut cmd = Command::new("youtube-dl");
cmd.current_dir(&self.path)
.env("LC_ALL", "en_US.UTF-8")
.stdout(Stdio::piped())
.stderr(Stdio::piped());