I like this idea, at least it prevent the rapist from raping another innocent unwilling woman. And i totally disagree with the fact some countries actually ask the rapist to marry the victim, this is a lifetime of torture for the poor woman.
What countries do this and how does it become torture?
Turkey and Saudi Arabia have this custom as far as I know. Most of the time this doesn't work but there has been very few rare cases where it has worked. This doesn't mean that I agree with such custom, I think the most appropriate punishment for the rapist is death or life in prison. He the raper shows is an animal who cannot control his instinct therefore he cannot be considered human. Humans are differed from animals by the way they think before they do something while animals use their instincts.
Not all people are different from animals. In fact, man is not born but becomes. It is human nature all the same instincts that animals. Education can make us human, and lack of education makes it an animal. Most Muslims I've seen are animals. Therefore, the attitude to the woman they have as a sexual object.