handledash
static const char *handledash(char *, char *, const char *);
from = handledash(frombis, frombis + 256, from);
to = handledash(tobis, tobis + 256, to);