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());