> What is a fair or unfair dress code is determine by culture, religion and governments, which simply create a circle.
This is BS relativism and you seem to be attempting to dismiss any culpability for cultures that impose unfair dress codes that primarily impact those who aren't making the dress codes and are less power or out groups.
> Nudists are generally only permitted in very narrow defined and small nudist zones, like say a specific beach behind a hill and behind a forest on the outskirts of a city. If the same would be applied to Hijab so that it would only be allowed in small and special Hijab zones located out of sight of everyone in the furthest located place, would it feel fair or unfair?
I think nudist are often treated unfairly, but there are different degrees to that unfairness in different areas. Other there are still default nudist spots in areas where nudism is legal since there are also community aspects.
I think allowing hijabs in some areas only or banning them in some areas only is less unfair than a blanket ban, but is still unfair unless there are legitimate safety concerns and the laws cover the entire class of headwear.
I would say that laws against nudism seem less targeted at a low power out group than laws against hijabs so seem like a greater abuse of power.
> We have situation like, should a male buss driver be allowed to wear shorts, or is it fair that the company dress code say that men should were suits and women skirts regardless of hot it is?
I think the company should be legally required to allow/offer uniforms that work in the environmental conditions their employees face. I don't think gender based clothing restrictions are ever fair.
> I know a person who had to quite his job because wearing socks hurt his feet so much and the dress code strictly required socks.
Unfair, unless there are safety concerns.
> Some people has been fired because they refused to remove jewelry where the dress code forbid it. Those jewelry was religious in nature and such the wearer felt they deserved an exception.
Unfair unless the rule was motivated by safety.
> Personally I think people should have the right to wear or not wear what ever they want as long it doesn't cause physical harm to an other person, but that is me.
I think there are other legitimate reasons to impose dress codes (safety, reputation, etc.) but what those codes are, how they are targeted and how they impact those effected all matter when it comes to justifying those codes.