-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
problem with non english characters in the path #670
Comments
@fuglphoenix my bad, I removed a line from the module which is in our init script but forgot we load that path before init. You should be able to resolve this by setting the console to UTF8 before importing oh-my-posh and I'll fix that in the meantime: |
@JanDeDobbeleer thanks :-) |
Let me know if the latest release fixes the issue. In theory it should. |
NO, the issue still somehow remains, my username has Chinese character, I have to set the encoding in order for it to work. |
@HughGrant yes, one day Powershell will fix this 😅 |
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
it doesn't like it when there is non english characters in the path
Environment
Oh my Posh version: 3.140.0
Operating System: windows 10 build 19043
Shell: powershell 7.1.3
Terminal: windows terminal
Steps to Reproduce
Set-PoshPrompt -Theme jandedobbeleer -Verbose
Expected behavior:
Setting the new theme
Actual behavior:
Actual path to binary: C:\Users\nbn\OneDrive - Søren Jensen\Dokumenter\PowerShell\Modules\oh-my-posh\3.140.0\bin\posh-windows-amd64.exe
Error message:
notice the characters after OneDrive -... they don't match the actual path.
it works fine if i move the binary to another folder (without the special characters) and modify the oh-my-posh.psm1
The text was updated successfully, but these errors were encountered: