The Torah tells us: The stranger among you shall be subject to the same laws as you are; he has your same rights; don’t abuse him or wrong him or oppress him; love him or you will be cursed; you know very well how he feels. [Exodus 22:20 and many other places]
The stranger in question is the convert or the ger toshav (resident Noahide). Now, are there general guidelines on how to treat the "other" strangers -- the nochri (non-Jewish, non-resident) or the zar (odd one out)?
There are some specific injunctions: You may not set a nochri to rule over you. [Deut. 17:15] You may charge or pay interest from loans to a nochri. [Deut. 23:21] You may sell a carcass to a nochri. [Deut. 14:21] But more generally, is he subject to the same laws, does he have the same rights, are you supposed to treat him in any special way, etc.? Is this discussed anywhere in detail?