C: better foreign Encoding support (#305)

special-case the Encode bootstrap XS methods, which
were not saved without.