Closed 1298345095 closed 1 month ago
@1298345095 Most likely an encoding issue. Force PowerShell to UTF8.
Microsoft.PowerShell_profile.ps1:
$previousOutputEncoding = [Console]::OutputEncoding
[Console]::OutputEncoding = [Text.Encoding]::UTF8
try {
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/chips.omp.json" | Invoke-Expression
} finally {
[Console]::OutputEncoding = $previousOutputEncoding
}
no effect
@1298345095 like this, otherwise you restore the encoding which still results in an issue:
[Console]::OutputEncoding = [Text.Encoding]::UTF8
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/chips.omp.json" | Invoke-Expression
Either way, this isn't an issue with oh-my-posh, it's an encoding and/or font issue that we can't solve.
Now I know what reason cause that... Some character have removed from nerd fonts v3. I think you should notice this problem in the document...
@1298345095 ah yes, but V3 was dropped a while ago. I didn't expect this to occur. I'll add a notice in the FAQ.
Code of Conduct
What happened?
A bug happened!
Theme
Chips![abc](https://github.com/JanDeDobbeleer/oh-my-posh/assets/30920958/ecf14445-5faa-4de8-9a8c-3fda86e06d1c)
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output