From 8c101387c04eef26ac94cf21a25aeb9953d2885b Mon Sep 17 00:00:00 2001 From: Xuesong Date: Thu, 30 Jun 2022 20:56:14 +0800 Subject: [PATCH] Fix encoding issue. --- src/Private/GitFunctions.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Private/GitFunctions.ps1 b/src/Private/GitFunctions.ps1 index cfe667e..bfce4a7 100644 --- a/src/Private/GitFunctions.ps1 +++ b/src/Private/GitFunctions.ps1 @@ -114,7 +114,7 @@ function Get-GitColorAndIcon{ } if($hideIcons){ - $gitGlyph = "√"; + $gitGlyph = "$([char]0x221a)"; }else{ $gitGlyph = $glyphs["nf-fa-check"] } @@ -148,4 +148,4 @@ function Get-GitColorAndIcon{ } $gitColorAndIcon = "${gitColor}${gitGlyph} " return $gitColorAndIcon -} \ No newline at end of file +}