Search notes:

System.Text.Encoding - GetEncoding()

The method GetEncoding of the System.Text.Encoding class returns an encoding (System.Text.Encoding) for the specified code page.
PowerShell example:
$iso_8859_1 = [System.Text.Encoding]::GetEncoding('iso-8859-1')

See also

Such encodings are used, for example, in methods such as System.IO.File::ReadAllText() etc.

Index