-
Notifications
You must be signed in to change notification settings - Fork 39
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
EN Dash (U+2013) character causing failure in non English system #7
Comments
This is because the - character most likely gets converted into some different character. Just trying manually typing -ItemType instead of copy/paste. |
Fixes issue 9to5IT#7
I've been having this issue since switching to Powershell Core 6.1. It works fine with normal Powershell 5. I have a french Windows OS (fr-ca). I put in a pull request to fix it. |
I am having an issue with character translation when I output to the screen. It seems that if there was a way to allow for character translation to enable utf8nobom it would solve the fr-ca issue. I just haven't figured out how to do it. |
The op is correct, I noticed the If you use When I viewed line #91 in vscode I was able to spot it. vscode github |
PSLogging.psm1
line#91
Before:
New-Item -Path $sFullPath –ItemType File
After:
New-Item -Path $sFullPath **-**ItemType File
I happen to run this function under Korean Windows 10 and it failed to create a new-item.
The text was updated successfully, but these errors were encountered: