Like the Miranda warnings, other countries have written rights they give to suspects before police begin their questioning. They have procedures to insure a confession is valid in their court systems. The Canadian Charter of Rights and Freedoms for example, provides that if someone is arrested they have certain rights. These are to be promptly told why they were arrested, told they have a right to retain legal council and the right of proof of habeas corpus (or be released from custody). 