Added possibility to choose encoding by an constructor param.
If this param is null the default recognition will parse the mail.