PilkoPumpPants I didn't know that, no, but even so, this doesn't change the fact that the government chose to have her arrested for reporting a rape. And that this is very much exactly what one can expect from Dubai.
Rapists will rape, and chances are you can't prevent them from doing so. What you can do, however, is stay in countries where there is at least some lip service paid to women's human rights, and the authorities will at least pretend to persecute rape. (I do not have a high opinion of Germany or the UK, let alone the US regarding this, but none of these arrest women for having been raped; they at least have the decency to accuse the women of "false rape accusation" before doing so.)