ryanb / letter_opener

Preview mail in the browser instead of sending.
MIT License
3.71k stars 236 forks source link

Add encoded subject to utf8 #184

Closed kuroponzu closed 2 years ago

kuroponzu commented 3 years ago

Converts the mail title to UTF8. With this change added, Japanese titles will be displayed correctly.

Example: Encoding of ISO-2022-JP

Encoded: =?ISO-2022-JP?B?GyRCJDMkcyRLJEEkTxso?=? Decoded: こんにちは

nashby commented 2 years ago

@kuroponzu thanks!