Islamic societies have always had dress codes for female modesty that involved the females covering their heads and bodies in public. What differed were the types of dress and extent of the codes, which varied from region to region.
We are no longer living in the 16th or 19th Century. 40 years ago, things were different in Egypt.