The from field should not be changed.

fixes #408
Fixing encoding issue.
Smarter decoding attempts...

see #410
I think it is the best solution I've found until now...

see #410