Set encoding of first registration file