Encode-Encoding subclass that detects the encoding of data
