data-in: Rewrite logic for recoding input, and get rid of src_enc member.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 24 Sep 2010 03:56:50 +0000 (20:56 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 24 Sep 2010 04:13:11 +0000 (21:13 -0700)
commit00129e248ab4ce96af72d380d8a0ccfad2f5d776
tree171b750267fcb2560e1f7a9363c82cdbdcb0d211
parent4e8efdc4acb80fc1a3735228d29fca0cf86fee6d
data-in: Rewrite logic for recoding input, and get rid of src_enc member.

The logic used here seemed actually wrong for non-binary numeric formats
and AHEX format: we want these translated into the native encoding so that
we can interpret digits and letters properly without additional work.
The only case where we care about the output encoding is A format.
src/data/data-in.c