I'm a woman and a software engineer. I love coding and many other technical stuff. I have always been curious about how things work and attracted by anything with wires or gears on it, and I have always felt weird because of that. You know why? Because girls rejected me because I liked "boys stuff".
I have always tried to encourage other girls to give a try to coding with almost no luck.
I have been a web development teacher in a renowned master in Barcelona combining technical subjects with business subjects, and even there. most of the girls had no or very low interest in the technical subjects.
So, maybe there is nothing we can change. Woman seem to prefer other careers, and I don't see a problem with it. The important thing is being able to choose, and they are and chose other fields. Why that insistence on changing it?
A very different thing is treating women that have chosen a technical career with the same respect you will treat men. This is a must.