Final step to support Base64 with multibyte charsets..
commit9fc22b15290a54ef3bac2bbf4831508b1c5c414a
authorSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Thu, 15 Dec 2016 15:28:50 +0000 (15 16:28 +0100)
committerSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Sat, 31 Dec 2016 16:58:55 +0000 (31 17:58 +0100)
tree6dcbf432f5dd13c25d0c269f7383daa887c7728f
parentb9f366db76583a68fe9f4945d2c2970456d334df
Final step to support Base64 with multibyte charsets..

Until now send.c:sendpart(): enabled iconv(3) for FROMB64_T, in
order to hook in the intermediate buffer that provides, so in
order to avoid that multibyte characters that cross Base64 buffer
boundaries get garbled by the makeprint() and delctrl() etc. we
apply to the data before showing it on the users' screen.

In v15 we will have a filter chain that uses buffers as
appropriate, until then hack the support in and keep lingering the
buffer around unless we see a NL (or end of message) before
performing further modifications and dumping out the data,
therefore keeping multibyte sequences (and even charset state
machines) intact.
mime.c
send.c