Commit 5ff9c5e
committed
windows: set text encodig for powershell to utf-8
by default powershell uses the OEM-US/codepage 437
encoding which is an extension of ASCII
when a character with umlaut is used and powershell
uses the default encoding go is unable to properly
convert it to a go string as it doesn't understand
the OEM-US encoding by default and replaces it with
'U+FFFD' and we get a ? in the output
the preflight check, checking if username in group
fails since the username is not correct because of
the '?' character in it, this fixes it by using the
utf-8 encoding for powershell1 parent d40cdbd commit 5ff9c5e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments