int dcs = -1;
// encoding should never be null, but for resilience, we check it here
// and default back to binary encoding if none is found.
if (encoding == null) {
encoding = new BinaryEncoding();
}
dcs = encoding.getDataCoding();
if (message != null) {