<<< Date Index >>>     <<< Thread Index >>>

Re: e-mail encoding/formatting (was Re: Split-screen mode in mutt?)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, May  4 at 11:40 PM, quoth cga2000:
> Well, things may not be that trivial after all. With my new setup 
> Kyle's curly quotes are displayed correctly. The message above does 
> not.

Now that's just weird.

> 1. My attempt at curly quotes is rendered by displaying what I 
> assume is the three-byte values of the character in the UTF-8 
> encoding:
> x'e2809c'and x'e2809d'. Mutt's - or whatever's - rendering is actually 
> an equal sign followed by the hex value of the first byte, followed by 
> another '=' followed by the hex value of the second.. etc.

That's what's known as "quoted-printable" encoding 
(http://en.wikipedia.org/wiki/Quoted-printable). Normally, mutt should 
transform that into the encoded bytes for you. I have no idea why it 
wouldn't... And I have no idea why it would work for my email but not 
yours, since our emails are encoded in exactly the same way. You may 
have found a mutt bug of some kind...

Try this experiment: send yourself a message with curly-quotes in it, 
then send yourself another one with an attachment (doesn't matter 
what, just so long as it's an attachment). Is there a difference? 
(There *shouldn't* be, but the attachment is the only thing I can 
think of that's different between our two emails.)

> 2. There are a bunch of =20 artefacts in my email, some 
> corresponding to the first '.' of my personal rendering of the 
> ellipsis using what en.US has to offer - I just type two dots like 
> so: '..' uses less space than three dots..

That goes back to the quoted-printable thing; 's just the way it does 
it. What matters here is that for whatever reason, mutt isn't decoding 
it for you.

> Same behavior in linux console (after unicode-start) and xterm -e8.

...you mean xterm -u8, right?

You may also want to try:

    env LC_CTYPE=en_US.UTF-8 xterm -u8

> Interestingly, the above message displays correctly in mozilla-mail.

Because it should! :)

> I don't know if anyone is seeing what I am seeing but does anyone 
> guess at what the problem could be? 

Wish I could be of more help - your messages all look fine to me.

~Kyle
- -- 
To believe in God is impossible---to not believe in him is absurd.
                                                           -- Voltaire
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFEW6KUBkIOoMqOI14RAgM5AJ9wHtyACCbqVnOLTQmMztpuaPSRwACeP9TD
/rCE5E6BUSGEv+trlAQfLPQ=
=mb2k
-----END PGP SIGNATURE-----