Add encoding support

Hi, 

Happy to find that package !
Since Atom 0.141.0, Encoding is supported, so it was easy to add this missing functionnality.

Hope you'll merge this pull request easily

Regards
useless comment