This fixes it for me. Not sure why all the other calls use charset and setSubject does not?
The existing tests still pass, but I haven't been able to make a test specifically for utf-8. Locally on OS X, the current tests seem to work with utf-8 as-is.
Norwegian characters (æøå) in the subject are shown as "?" in Gmail. When used in the body, they are shown okay. Sending to Gmail through SendGrid.
I built a local version that adds charset to the setSubject call:
https://github.com/terjesb/postal/commit/00529b1b299dae78591be2e105cb295cc0620f05
This fixes it for me. Not sure why all the other calls use charset and setSubject does not?
The existing tests still pass, but I haven't been able to make a test specifically for utf-8. Locally on OS X, the current tests seem to work with utf-8 as-is.