HttpWatch Automation Reference - Version 12.x
HttpWatch Namespace / Content Class / Encoding Property

In This Topic
    Encoding Property
    In This Topic
    Returns a value from the CONTENT_ENCODING enum that indicates how textual content was encoded by the server, e.g. UTF8
    Syntax
    'Declaration
     
    Public ReadOnly Property Encoding As CONTENT_ENCODING
    public CONTENT_ENCODING Encoding {get;}
    Remarks

    The value return from this property indicates how textual content was originally encoded by the web server, e.g. ASCII, UTF8 etc. The content returned from the Data property will be encoded as specified by the CONTENT_ENCODING value.

    Textual content is automatically encoded into a unicode string by the Text property and is the preferred way to access text rather than performing conversions based on the value of this property.

    Requirements
     
    See Also