Is there a space before a question mark?
In English, there is no space between the last word of a sentence and the question mark.
Thus, you will write:
How are you?
The rules differ from one language to another that’s why translators are constantly careful when translating. In French or in Portuguese, it is required to add a space between the last word of a question and the question mark. So, in French you will write:
Comment allez-vous ?
In Portuguese, you can write:
This rule is applied with the exclamation mark as well.