Re: [nmh-workers] Quoting non-ASCII in reply
Ralph wrote: > repl(1) has -fmtproc, and /usr/share/doc/nmh/contrib/replyfilter is a > Perl script to be used with it. Another approach is to use the repl -convertargs switch. See .../share/doc/nmh/contrib/replaliases for shell aliases that make it easy to use. I source that file and then use either rt or rtm if I am or am not, respectively, going to add attachments with whatnow(1) attach. David -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [nmh-workers] Quoting non-ASCII in reply
Hello Conrad, Conrad Hughes writes: > [...] > .. at first I thought that mhfixmsg might help, but things seem to end > up in even more of a mess after (for example) 'mhfixmsg -reformat > -replacetextplain'.. > [...] Have you also tried `mhfixmsg -textcharset utf-8'? -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
[nmh-workers] Quoting non-ASCII in reply
I recognise that this seems to be an old issue, so I guess the short version of the question is has mime handling in repl (so, for example, non-UTF8 text being quoted in a reply turns up as UTF8, not as '=91' etc.) progressed at all since 2012? -- Long version: Non-UTF8 messages appear fine when I 'show' them, but when I 'repl' all non-UTF8 characters are in '=91'/'=92'/'=96' format. The main offenders are Windows-1252 messages. Any suggestions where I should look for what's causing this? I'm using system default mhl.format and mhl.reply, which respectively have the following 'body' lines: body:nocomponent,overflowtext=,overflowoffset=0,noleftadjust body:component="> ",overflowtext="> ",overflowoffset=0 .. is this the same issue as described here? [2010] "Fixing decoding of quoted messages in replies" https://lists.gnu.org/archive/html/nmh-workers/2010-10/msg6.html [2012] "repl and mime handling" https://lists.gnu.org/archive/html/nmh-workers/2012-01/msg00172.html .. at first I thought that mhfixmsg might help, but things seem to end up in even more of a mess after (for example) 'mhfixmsg -reformat -replacetextplain'.. Conrad -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [nmh-workers] Quoting non-ASCII in reply
Hi Conrad, > > Have you also tried `mhfixmsg -textcharset utf-8'? > > I hadn't, but it doesn't seem to improve my results, with or without > various combinations of -reformat and -replacetextplain. One example that doesn't work would give us more chance of helping. > Is mhfixmsg the most likely tool for this job then: no good solution > has been produced solely within repl? repl(1) has -fmtproc, and /usr/share/doc/nmh/contrib/replyfilter is a Perl script to be used with it. You might prefer that approach. Searching for `replyfilter' in the archives turns up various conversations. http://lists.nongnu.org/archive/html/nmh-workers/ -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
Re: [nmh-workers] Quoting non-ASCII in reply
Hi Leonardo, Thanks for your suggestion: > > mhfixmsg -reformat -replacetextplain > Have you also tried `mhfixmsg -textcharset utf-8'? I hadn't, but it doesn't seem to improve my results, with or without various combinations of -reformat and -replacetextplain. Is mhfixmsg the most likely tool for this job then: no good solution has been produced solely within repl? C. -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers