How common is it for languages to use second person pronouns as indefinite pronouns in certain contexts? Witness, for example, the following sentence, which, depending on context, could be addressed to a particular listener or to any listener or reader at all, including listeners and readers unknown to the speaker.
"If you drink and drive, you'll go to jail!"
Is this use of the second person pronoun confined to English, or do other languages have it too?