binary was not being set as the default encoding in EncodedData