Closed flashmob closed 6 years ago
To make things more portable, make use of "gopkg.in/iconv.v1" import optional, since not every system has the GNU iconv library on their system.
To use the cgo iconv package, the end-user of the API would need to import with an underscore:
_ "github.com/flashmob/go-guerrilla/mail/iconv"
Otherwise, default to using the stock charset converter in golang if above package not imported.
Todo:
init
This should solve issues
https://github.com/flashmob/go-guerrilla/issues/91
https://github.com/flashmob/go-guerrilla/issues/97
PR #103 merged
To make things more portable, make use of "gopkg.in/iconv.v1" import optional, since not every system has the GNU iconv library on their system.
To use the cgo iconv package, the end-user of the API would need to import with an underscore:
_ "github.com/flashmob/go-guerrilla/mail/iconv"
Otherwise, default to using the stock charset converter in golang if above package not imported.
Todo:
init
hook to use iconv whenever it's importedThis should solve issues
https://github.com/flashmob/go-guerrilla/issues/91
https://github.com/flashmob/go-guerrilla/issues/97