Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[ml] Where are all these =20 end of line characters coming from?

 [1/10] from: atruter::labyrinth::net::au at: 17-Aug-2004 11:12


Noticed that my last few posts to the list come back as: ... ... I'm using Opera 7.54 and havn't had this problem before / elsewhere. Is this a list issue? One thing I am doing that is different now is using the in-built spell-check facility, perhaps that is the culprit? Regards, Ashley

 [2/10] from: martin76:kth:se at: 17-Aug-2004 3:29


It looks like your mail is in "quoted printable" encoding. If a space character is at the end of a line it is encoded as =20. You've probably noticed that when you were trying to type =20, it encoded the = as =. I'm guessing that the mailing list is forwarding the content of your mail without keeping the encoding mail header. I could be wrong though. /Martin Ashley Trüter wrote:

 [3/10] from: atruter:labyrinth:au at: 17-Aug-2004 11:55


Note to self. 1) Must keep line length below 66 characters. 2) Can't use equals sign (they have "3D" appended to em). Any other strange rules I need be aware of? I just *love* this new list mail server! Regards, Ashley

 [4/10] from: atruter:labyrinth:au at: 17-Aug-2004 12:07


Hi Martin,
> It looks like your mail is in "quoted printable" encoding. If a space > character is at the end of a line it is encoded as =20. You've probably > noticed that when you were trying to type =20, it encoded the = as =.
Opera's encoding defaults to "iso-8859-15". Should I be using a more standard encoding, and if so what?
> I'm guessing that the mailing list is forwarding the content of your > mail without keeping the encoding mail header. I could be wrong though.
The encoding mail header is blank, but then again its blank if I just email myself (using several different accounts / ISPs). Thanks for the useful pointers though. ;) Regards, Ashley

 [5/10] from: martin76:kth:se at: 17-Aug-2004 4:22


It is more complicated than that unfortunately. This is from the headers: Content-type: text/plan; charset=iso-8859-15 Content-Transfer-Encoding: 8bit It's the Content-Transfer-Encoding that is the interesting part here. It could be 8bit, base64, quoted printable, etc. It's the actual transport encoding, which is not directly tied to the character set encoding. Or something like that. If your mail said Content-Transfer-Encoding: quoted-printable instead, it would work. So, I'm guessing that when you sent the email it did say quoted-printable and at some point, it was changed to 8bit, possible by the mail list server. From Wikipedia about quoted printable: Printable ASCII characters except "=", i.e. those with decimal values between 33 and 126 excepting decimal value 61, may be represented by themselves. ASCII tab and space characters, decimal values 9 and 32, may be represented by themselves except if these characters appear at the end of a line. If one of these characters appears at the end of a line it must be encoded as "=09" (tab) or "=20" (space). End of pasted text. /Martin Ashley Trüter wrote:

 [6/10] from: SunandaDH:aol at: 17-Aug-2004 2:02

Re: [ml] Where are all these =20 end of line characters coming fr...


Ashley:
> I just *love* this new list mail server!
I don't know if it *is* the new mail server, but as soon as it opened for business, I noticed a huge increase in entries reaching the ML archive that were infested with =20 and =3d and such codes. We tweaked the ML archive clean-up code to make them more readable, which is why you'll seldom see the problem if you read the ML via the archive: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlKXRC Sunanda.

 [7/10] from: gabriele:colellachiara at: 17-Aug-2004 10:38

Re: [ml] Where are all these =20 end of line characters coming from?


Hi Ashley, On Tuesday, August 17, 2004, 3:12:57 AM, you wrote: AT> Noticed that my last few posts to the list come back as: AT> ... AT> ... AT> I'm using Opera 7.54 and havn't had this problem before / elsewhere. Is AT> this a list issue? This is the quoted-printable encoding that is probably crating problems to Ecartis (it has always had problems with it). You can avoid it by sending mail as "8-bit" (dunno where you'll find the option in Opera). Nowadays quoted-printable shouldn't be a need anymore, though it's very bad that Ecartis hasn't fixed this problem in so long time... Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [8/10] from: gabriele:colellachiara at: 17-Aug-2004 10:40


Hi Ashley, On Tuesday, August 17, 2004, 4:07:28 AM, you wrote: AT> Opera's encoding defaults to "iso-8859-15". Should I be using a more AT> "standard" encoding, and if so what? They are two different things --- the charset and the Content-transfer-encoding .
>> I'm guessing that the mailing list is forwarding the content of your >> mail without keeping the encoding mail header. I could be wrong though.
AT> The encoding mail header is blank, but then again its blank if I just AT> email myself (using several different accounts / ISPs). You should look at the "Content-transfer-encoding" header (IIRC, not sure if the name is exactly that :). Anyway usually in the config there's something like "send mail as 8-bit" or "use Quoted-printable" that you can change. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [9/10] from: gabriele::colellachiara::com at: 17-Aug-2004 10:45

Re: [ml] Where are all these =20 end of line characters coming fr...


Hi SunandaDH, On Tuesday, August 17, 2004, 8:02:43 AM, you wrote: Sac> We tweaked the ML archive clean-up code to make them more readable, which is Sac> why you'll seldom see the problem if you read the ML via the archive: If you need it, drop me a line and I'll search for my (years old ;) quoted-printable decoder. It's a few lines of code... I think there should be others around, maybe in the library too. Though finding out if a message was encoded or not won't be that easy, considering that Ecartis is stripping the header... :/ I think we should really be rewriting SELMA instead. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [10/10] from: gchiu:compkarori at: 17-Aug-2004 20:45


[SunandaDH--aol--com] wrote.. apparently on 17-Aug-2004/2:02:43
>Ashley: >> I just *love* this new list mail server!
<<quoted lines omitted: 3>>
>We tweaked the ML archive clean-up code to make them more readable, which is >why you'll seldom see the problem if you read the ML via the archive:
RebolML always does a decode quoted-printable on all mail coming through (using Brett's code), so I never saw this problem. I think as has been said, that it is the list server that is the cause, changing quoted printable to plain text and not decoding as it should. To test this I am sending this very long line in plain text encoding, with no special character set specified, and I shall be interested to see what happens to the header when it gets back to me. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted