Finding out the Default Character Encoding in Windows

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 this on other Windows machines too.

Alternatively, is there any list of default encodings per locale?

4

1 Answer

You can check with PowerShell:

[System.Text.Encoding]::Default

which even enables you to check that across several machines at once.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.