NT2: Five percent boost for codepage encoding, from optimizations in set_key().