The French constitution references the Declaration of the Rights of Man and of the Citizen which covers "all men, French, foreign, prisoners and enemies".
We covered some of this in our class on 'staatsinrichting' where not only the Dutch but also other important European countries organizations were discussed. This one stands out for me because it seems that at least one European country got this one exactly right.
Of course in practice things haven't always followed the theory. For example in French colonies, although indigenous people were supposed to enjoy the same protections than the French colonists, it didn't happen that way. The excuse was that they needed to be put "up to speed" first.