From eacdceaaafe46b06ac29815b2c230abc275a26bb Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 19 Jun 2021 04:07:36 +0200 Subject: [PATCH] yt-dl now loads with LC_ALL=en_US.UTF-8 --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 44e112c..4778e3f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -209,6 +209,7 @@ impl YoutubeDL { fn spawn_youtube_dl(&self) -> Result { 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());