Closed quzhi1 closed 1 month ago
@emersion I added a list of popular encodings. In that way we can parse emails a lot easier. Can you take a look? 🙏
The way the library is designed, by default no encodings are included so that the library doesn't result in a much bigger binary size. Users can opt-in to import common encodings. See https://pkg.go.dev/github.com/emersion/go-message#pkg-overview
Thank you @emersion ! I just tested and it works. PR is closed.
Hello @emersion ,
Can I add support to iso-8859-1 encoding? I saw this encoding is supported in
charset.go
, but notencoding.go
: https://github.com/emersion/go-message/blob/master/charset/charset.go#L27I am fairly new to this library. Please let me know if I need to make more changes to support iso-8859-1.
ps: Can I add some more encodings? I can do it as part of this PR.
Thank you.
Zhi Qu