UtilitiesgetResponseBodyEncoding Method |
Gets (via Headers or Sniff) the Response Text Encoding. Returns CONFIG.oHeaderEncoding (usually UTF-8) if unknown.
Perf: May be quite slow; cache the response
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static Encoding getResponseBodyEncoding(
Session oSession
)
Public Shared Function getResponseBodyEncoding (
oSession As Session
) As Encoding
public:
static Encoding^ getResponseBodyEncoding(
Session^ oSession
)
Parameters
- oSession
- Type: FiddlerSession
The session
Return Value
Type:
EncodingThe encoding of the response body
See Also