Fetching details from the dictionary...
homophony (having the same pronunciation as another word but a different written form); heterography