Handle binary bitmaps in text-encoded messages (thanks @dhinckle2)

also catch a bug in LLVAR encoding
This commit is contained in:
Enrique Zamudio
2012-11-30 11:53:08 -06:00
parent 310e310b90
commit dfb1bc1b45
2 changed files with 24 additions and 4 deletions
@@ -184,7 +184,7 @@ public class IsoValue<T> implements Cloneable {
}
} else if (type == IsoType.ALPHA) {
return type.format(encoder == null ? value.toString() : encoder.encodeField(value), length);
} else if (type == IsoType.LLLVAR || type == IsoType.LLLVAR) {
} else if (type == IsoType.LLVAR || type == IsoType.LLLVAR) {
return encoder == null ? value.toString() : encoder.encodeField(value);
} else if (value instanceof Date) {
return type.format((Date)value);