DTW-DanWard / PowerShell-Beautifier

A whitespace reformatter and code cleaner for Windows PowerShell and PowerShell Core
MIT License
333 stars 38 forks source link

Does not detect file encoding when it is Default (iso-8859-1 or windows-1252) #45

Closed hellon8 closed 4 years ago

hellon8 commented 6 years ago

The attached file is encoded in [System.Text.Encoding]::Default , but the function Get-DTWFileEncoding reports it as UTF-8

ls.txt