On 10.02.16 12:13, Tony Mechelynck wrote: > On Wed, Feb 10, 2016 at 11:40 AM, Erik Christiansen > <[email protected]> wrote: > > On 09.02.16 15:19, Nikolay Aleksandrovich Pavlov wrote: > >> See also https://en.wikipedia.org/wiki/Unicode_and_email. > >> > >> [1]: https://en.wikipedia.org/wiki/Quoted-printable > > > > Thank you for your advice and the links. Both have crystallised the > > problem. I apparently now need to either have postfix or procmail invoke > > a quoted-printable to utf-8 decoder on all incoming emails, or have mutt > > invoke the same when passing the quoted text to vim for composing a > > reply. > > Ah, yes. Vim would presumably display a message in utf-8 with no > trouble if its Content-Transfer-Encoding were 7bit (us-ascii > compatible) or 8bit, but not quoted-printable (everything above > U+007F, even Latin1 accented characters, would be replaced by two or > more =xx groups, with xx being hex digits) and of course a message in > base64 would be even less understandable. You could try pasting from > the mail reader to Vim (using a different program or terminal if > necessary to remember the "* X selection, since IIUC the xterm, unlike > konsole, cannot access the "+ clipboard): that should keep everything > as you see it. But I suppose it wouldn't copy the headers.
Yes, I was about to try to employ qprint to translate, but at the last minute found that a clean utf-8 xterm environment fixes it. Initially, xterm was the problem, because it's not utf-8. So I tried uxterm, after all, it's in the manpages. That allowed mutt to display the QP, but upset vim. I then made the mistake of trying "xterm -en UTF-8" _from_ a uxterm. That also failed. But zapping the uxterms from .bashrc, and invoking "xterm -en UTF-8" from an ordinary xterm, I've joined the civilised world. Queue angel choirs, parting clouds, and sunbeams! Thanks. Erik -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
