diff --git a/crates/nu-cli/src/commands/char_.rs b/crates/nu-cli/src/commands/char_.rs index 36c60f8ce9..c5939812c4 100644 --- a/crates/nu-cli/src/commands/char_.rs +++ b/crates/nu-cli/src/commands/char_.rs @@ -97,13 +97,14 @@ fn str_to_character(s: &str) -> Option { "hash" | "hashtag" | "pound_sign" | "sharp" | "root" => Some("#".into()), // # // Weather symbols - "sun" | "sunny" | "sunrise" => Some("\u{1F305}".to_string()), - "moon" => Some("\u{1F319}".to_string()), - "cloudy" | "cloud" => Some("\u{2601}".to_string()), - "rainy" | "rain" => Some("\u{2614}".to_string()), - "foggy" | "fog" => Some("\u{1F301}".to_string()), - "snowy" | "snow" => Some("\u{2744}".to_string()), - "thunderstorm" | "thunder" => Some("\u{26C8}".to_string()), + "sun" | "sunny" | "sunrise" => Some("â˜€ī¸".to_string()), + "moon" => Some("🌛".to_string()), + "cloudy" | "cloud" | "clouds" => Some("â˜ī¸".to_string()), + "rainy" | "rain" => Some("đŸŒĻī¸".to_string()), + "foggy" | "fog" => Some("đŸŒĢī¸".to_string()), + "mist" | "haze" => Some("\u{2591}".to_string()), + "snowy" | "snow" => Some("â„ī¸".to_string()), + "thunderstorm" | "thunder" => Some("đŸŒŠī¸".to_string()), // Reference for ansi codes https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797 // Another good reference http://ascii-table.com/ansi-escape-sequences.php