diff options
author | Antoine PLASKOWSKI <plaskowski.stanislas@gmail.com> | 2021-02-26 19:21:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 19:21:00 +0100 |
commit | d0543f52404963619ec0d92dfb4d99eb37ad2015 (patch) | |
tree | c06716ec99a86e8b66aae6f1f79d62fb0f6f9236 /website/docs | |
parent | 1a2b60c9c5628a6325855447ac9dc73f7c3ccc71 (diff) |
fix wrong copy paste & typo
Diffstat (limited to 'website/docs')
-rw-r--r-- | website/docs/common-problems.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/website/docs/common-problems.md b/website/docs/common-problems.md index 60af81d..85e951d 100644 --- a/website/docs/common-problems.md +++ b/website/docs/common-problems.md @@ -57,7 +57,7 @@ Even Microsoft doesn't support them anymore. If you have a cheap solution it's w # Trouble with PowerShell Encoding -PowerShell is know to have problem with text encoding, for some reason the default is not UTF-8, if you want more compatibility it's advice to set encoding to UTF-8: +PowerShell is known to have problem with text encoding, for some reason the default is not UTF-8, if you want more compatibility it's advice to set encoding to UTF-8: Quick & Dirty (only for current session of powershell): use the command `[Console]::OutputEncoding = [System.Text.Encoding]::UTF8` @@ -65,8 +65,8 @@ Quick & Dirty (only for current session of powershell): use the command `[Consol This will create a profile if it doesn't exist: ```powershell -if (!(Test-Path -Path <profile-name>)) { - New-Item -ItemType File -Path <profile-name> -Force +if (!(Test-Path -Path $PROFILE)) { + New-Item -ItemType File -Path $PROFILE -Force } ``` |