Open rasmusroessum opened 2 years ago
I tried to save — in my ini-file, but it got saved as UTF-8 with BOM, where I would like it saved as ANSI.
To fix this please change this in Get-IniContent:
switch -regex -file $FilePath) {
to:
switch -regex (Get-Content $FilePath) {
And add 'default' for encoding in Out-IniFile
I tried to save — in my ini-file, but it got saved as UTF-8 with BOM, where I would like it saved as ANSI.