Fix some potential problems with unicode when sending exercise mails