You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Git comparisons of PSD1 files show nonsense characters. I believe this is because PSD1 files are automatically generated as UTF-16 LE, and Git doesn't recognise this as a text format.
If VSCode is going to be the default tool for editing Powershell files then it should be able to diff powershell module files.
Attached Logs
The text was updated successfully, but these errors were encountered:
I suggest you file this issue on https://GitHub.com/powershell/powershell since that is where the New-ModuleManifest command is implemented. Also, if you use the PowerShell extension command to create a new module template, it will create the PSD1 file using UTF8. :-)
System Details
1.12.1
f6868fce3eeb16663840eb82123369dec6077a9b
Major Minor Build Revision
1 0 0 0
ms-vscode.PowerShell@1.0.0
Name Value
PSVersion 4.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.42000
BuildVersion 6.3.9600.16406
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion 2.2
Issue Description
Git comparisons of PSD1 files show nonsense characters. I believe this is because PSD1 files are automatically generated as UTF-16 LE, and Git doesn't recognise this as a text format.
If VSCode is going to be the default tool for editing Powershell files then it should be able to diff powershell module files.
Attached Logs
The text was updated successfully, but these errors were encountered: