-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- Ensure you write a short, descriptive title after [Bug] above.
- Make sure to search for any existing issues before filing a new one.
- Verify you are able to reproduce the issue with the latest released version
PSAppDeployToolkit.Tools version
0.2.3
PSAppDeployToolkit version
4.0.6
Describe the bug
When I use the "Convert-ADTDeployment" command to convert the file "Deploy-Application.ps1", which is encoded in UTF-8 with BOM, the output file "Invoke-AppDeployToolkit.ps1" is always generated with UTF-8 encoding, which causes accented characters to not be displayed correctly.
The converted file should have the same encoding as the file "Deploy-Application.ps1", which is UTF-8 with BOM
Steps to reproduce
- Convert-ADTDeployment -Path .\Deploy-Application.ps1
Environment data
OsName : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : 48
OsArchitecture : 64 bits
WindowsVersion : 2009
WindowsProductName : Windows 10 Pro
WindowsBuildLabEx : 22621.1.amd64fre.ni_release.220506-1250
OsLanguage : pt-BR
OsMuiLanguages : {pt-BR}
KeyboardLayout :
TimeZone : (UTC-03:00) Brasília
HyperVisorPresent : True
CsPartOfDomain : True
CsPCSystemType : Desktop
.NET SDK:
Version: 9.0.101
Commit: eedb237549
Workload version: 9.0.100-manifests.4a280210
MSBuild version: 17.12.12+1cce77968
Ambiente de runtime:
OS Name: Windows
OS Version: 10.0.22621
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.101\
Cargas de trabalho do .NET instaladas:
Não há cargas de trabalho instaladas para exibir.
Configurado para usar loose manifests ao instalar novos manifestos.
Host:
Version: 9.0.0
Architecture: x64
Commit: 9d5a6a9aa4
.NET SDKs installed:
9.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not foundReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working