remnant of an earlier version that accepted nultiple encodings to try in order. will fix.