In the U.K., or at least in England, if Bob is convicted of a crime of which Alice is a victim, Bob may be ordered by the court at sentencing to pay to it on Alice’s behalf a sum representing losses and insults to Alice which she suffered as a result of Bob’s crime. This is known as a criminal compensation order.
I’d like to know how widely such mechanisms exist throughout the world, especially the U.S., but also for any jurisdictions that anyone would like to answer for.