Women developers may be scarce in the US and western Europe, but Bulgaria and Romania have no such issues. In Romania at least, it could be connected with the way high school education is organized, exposing all kids to STEM subjects.
The areticle goes on to state that the majority of the best Romanian high schools, which allow you to virtually apply to any university program you like. All of these are heavily focused around Mathematics and Computer Science.
From what I understand students will spend at least six hours a week on math, and 6 more hours filled with Computer Science.
After 4 years of this, you are familiar with what CS is and requires, and if you like it you have the skill set to study it further at university.
I don't think Romanian women study CS because they don't have the luxury to choose a "feminine" subject, but because STEM is not an alien option to them. Women in richer countries – Sweden in particular – pick less well-paid, but more social motivated careers instead.