Always update glyph codes when user clicks 'encoding' menu option.