Click or drag to resize
UtilitiesGetTextEncoding Method
WARNING: May throw. Gets an encoding, with proper respect for "utf8" as an alias for "utf-8"; Microsoft products don't support this prior to 2015-era, but it turns out to be common. We do have a linter elsewhere that reports a warning if it sees the dashless form. https://github.com/telerik/fiddler/issues/38

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static Encoding GetTextEncoding(
	string sEncoding
)

Parameters

sEncoding
Type: SystemString
Textual name of the encoding

Return Value

Type: Encoding
See Also