None of these say anything about encouraging rape.
Judges 21:10-24 talks about the destruction of Jabeshgilead and killing everyone except the virgin women. Who they got to take as wives. But the problem was that there were not enough women to go around to all the conquering men. So they asked what to do and were told to hide out near the town of Shiloh and kidnap the women when they went out to the fields.
Now it doesn't explicitly state rape, but really, just picture what happens when someone kills your entire family and then takes you for a 'wife'.
Numbers 31:7-18 talks about the destruction of the Midianites and killing of every male and woman that 'hath known man by lying with him.' And Moses tells them 'But all the women children, that have not known a man by lying with him,
keep alive for yourselves.' That last part just screams rape. And Moses told them to do this. Nice, huh?
Deuteronomy 20:10-14 then codifies the above examples and says that this is how to make war. Kill all the men and mothers, but keep the virgins around and 'enjoy the spoils of your enemies that the Lord your God has given you.'
2 Samuel 12:11
Thus saith the LORD, Behold, I will raise up evil against thee out of thine own house, and I will take thy wives before thine eyes, and give them unto thy neighbour, and he shall lie with thy wives in the sight of this sun.
God actually facilitates this rape. As a punishment for the man. Wow. The rest is even worse, but doesn't really deal with rape, just child murder.
Deuteronomy 21:10-14 explains how if you see a girl that takes your fancy amongst the captives, you have to humiliate her before you can rape her. And then once you tire of her you can chuck her out the door with nothing.
Zechariah 14:1-2
1Behold, the day of the LORD cometh, and thy spoil shall be divided in the midst of thee.
2For I will gather all nations against Jerusalem to battle; and the city shall be taken, and the houses rifled,
and the women ravished; and half of the city shall go forth into captivity, and the residue of the people shall not be cut off from the city.
I made the important bit stand out a bit just in case you might miss it. Sounds like encouraging rape to me.