diff --git a/dev/src/uu_ls/ls.rs.html b/dev/src/uu_ls/ls.rs.html index 72a4bafea..c9063e28d 100644 --- a/dev/src/uu_ls/ls.rs.html +++ b/dev/src/uu_ls/ls.rs.html @@ -3129,6 +3129,11 @@ 3129 3130 3131 +3132 +3133 +3134 +3135 +3136
// This file is part of the uutils coreutils package.
 //
 // (c) Jeremiah Peschka <jeremiah.peschka@gmail.com>
@@ -5128,7 +5133,12 @@
         require_literal_separator: false,
         case_sensitive: true,
     };
-    let file_name = entry.file_name().into_string().unwrap();
+    let file_name = entry.file_name();
+    // If the decoding fails, still show an incorrect rendering
+    let file_name = match file_name.to_str() {
+        Some(s) => s.to_string(),
+        None => file_name.to_string_lossy().into_owned(),
+    };
     !config
         .ignore_patterns
         .iter()
diff --git a/dev/uu_ls/index.html b/dev/uu_ls/index.html
index c356bc96f..edc975a26 100644
--- a/dev/uu_ls/index.html
+++ b/dev/uu_ls/index.html
@@ -1 +1 @@
-uu_ls - Rust
\ No newline at end of file +uu_ls - Rust
\ No newline at end of file