What is that method of spelling in which the same letters represent different sounds in different words, as in the ordinary English orthography; e. g., g in get and in ginger called?

heterography — That method of spelling in which the same letters represent different sounds in different words, as in the ordinary English orthography; e. g., g in get and in ginger. (Webster's 1913.)

Sources