Avoid storing a pointer to an rb_encoding which may be invalidated.