Skip to content

Commit d5a8ce1

Browse files
author
Andrew
committed
Added New-ModuleManifest Legacy' behavior
1 parent 3176c7e commit d5a8ce1

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

1-Draft/RFC0020-DefaultFileEncoding.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,16 @@ When `$PSDefaultFileEncoding` is set to `UTF8NoBOM`, the file shall be created w
6767
When `$PSDefaultFileEncoding` is set to `Legacy`, the behavior shall be:
6868

6969
```
70-
CmdletName Encoding
71-
---------- --------
72-
Add-Content ASCII
73-
Export-Clixml UTF16
74-
Export-CSV ASCII
75-
Out-File UTF16
76-
Set-Content ASCII
77-
Export-PSSession UTF8 (with BOM)
78-
Redirection UTF16
70+
CmdletName Encoding
71+
---------- --------
72+
Add-Content ASCII
73+
Export-Clixml UTF16
74+
Export-CSV ASCII
75+
Out-File UTF16
76+
New-ModuleManifest UTF16
77+
Set-Content ASCII
78+
Export-PSSession UTF8 (with BOM)
79+
Redirection UTF16
7980
```
8081
This persists the irregular file encoding on non-Windows platforms, and allows Linux files to be used on Windows with the same encoding as exists in previous releases of PowerShell.
8182

0 commit comments

Comments
 (0)