[Patch] Improve replying to html-only messages



Hi all,

attached is a little patch which improves replying to html-only messages containing national characters.  It 
turns out that html2markdown reliably converts such characters to utf-8 only if an extra command line option 
is given.  As we check for a “zoo” of conversion tools, the configure script verifies that the selected one 
does actually accept the extra option.

Unfortunately, I have no idea how the change should be added to the meson build, so it would be great if 
someone could have a look at it.

Opinions?

Cheers,
Albrecht.

---

Patch details:
- configure.ac: check if the selected conversion tool accepts “--unicode-snob”
- libbalsa/html.c: run the conversion tool with “--unicode-snob” if supported

Attachment: html_reply_conversion_utf8.diff.bz2
Description: application/bzip

Attachment: pgpbwl1QWHyDw.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]