add Justin Haynes credit for beg2char