I have seen several of these type mistakes in the transcribing of census records.
You say by a computer? I always thought they (ancestry, etc) had outsourced the work (probably) to foreign students who knew english, but not well enough to recognize names written in script. Their transcription would be a foreign sounding name but when I looked at the actual record it would be an anglo name.