mktrfn: use the new syntax for defining characters