New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Powerline Glyphs replaced with other characters when Out-File used #220
Comments
@otaconjh this is a first guess, I'll look into it later today, but I think you need to set the encoding to utf8 in Out-File.
|
@otaconjh confirmed on my machine to be working with the proper encoding, although it's
|
Thank you |
Encoding works, might be worth updating the doc on the website with it! https://ohmyposh.dev/docs/upgrading |
@boarder2 fair point, we do accept contributions 😉 |
fixing a couple typos. refs JanDeDobbeleer#220
fixing a couple typos. refs #220
@boarder2 🙏🏻 |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Prerequisites
CONTRIBUTING
guideDescription
Writing stock theme with Out-File replaces powerline glyphs with odd characters
[Description of the bug or feature]
Environment
Steps to Reproduce
Set-PoshPrompt -Theme emodipt
Write-PoshTheme | Out-File -FilePath ~/.go-my-posh.json
Set-PoshPrompt -Theme ~/.go-my-posh.json
Expected behavior: [What you expected to happen]
Custom prompt should look the same as stock emodipt
Actual behavior: [What actually happened]
Powerline Glyphs aren't rendered properly
The text was updated successfully, but these errors were encountered: