C: better foreign Encoding support (#305)

but Encode::JP is not yet in xsub yet (bootstrap special-case)