Finding out the Default Character Encoding in Windows
Is There Any Way to Find What Is the Default Character Encoding in Windows? I Know That in Western Europe and the Us, Cp-1252 Is the Default, but Need to Check...
Is there any way to find what is the default character encoding in Windows? I know that in Western Europe and the US, CP-1252 is the default, but need to check this on other Windows machines too.
Alternatively, is there any list of default encodings per locale?
1 Answer
You can check with PowerShell:
[System.Text.Encoding]::Default
which even enables you to check that across several machines at once.