🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #232859

Google and microSoft both messed up.

#232859
From: _
Date: Mon, 27 Apr 2009 11:58
87 lines
4753 bytes
I too hate how Outlook and Windows Mail fail to >quote lines
from a Google Groups post that has Quoted Printable.
Google and microSoft both messed up.

Consider this post from Dorn Strich in Sci.Physics:
  news:21fd1d5b-d5dd-4312-a0b1-d9d9e46c175b@z1g2000yqn.googlegroups.com

In the header we see the Greek charSet:
“ Content-Type: text/plain; charset=ISO-8859-7
  Content-Transfer-Encoding: quoted-printable ”.

And in the body there's Greek being quoted from Google's interface:
“ - Απόκρυψη κειμένου σε παράθεση - ” [ “ - Hide Quoted text - ” ].

Google Groups munges its own post !
Had Google posted it using raw UTF-8, as I do,
then both Google and Outlook would've read it fine, I bet.

Outlook is still used far more often than Windows Mail,
and Windows Live Mail is used even less. People hate Windows Vista.

Outlook displays UTF-8 just fine, but it pesters its users
with big, scary warnings when they try to post
a reply containing the very UTF-8 that they just finished reading.

Scared, they turn off the warnings any way they can,
posting garbled text instead ― it'd be funny if I weren't so sad.
I try to explain this to people, but they trust microSoft over me.

By the way, here's some of the code I use to remove
the “ - Hide Quoted text - ” and “ - Απόκρυψη κειμένου σε παράθεση - ”
that's often found at the end of >quoted lines.
[ from “ www.JeffRelf.F-M.FM/X.CPP ”, Visual C++ 9 ]

  #define  isalpha  iswalpha
  #define  strSz  wcslen
  typedef wchar_t  * LnP ;

  #define  WhileBac( Should_Loop )  \
    Ch = Ch2 = 0;  if ( ! E )  E = B + strSz( B );  P = E ;  \
    while (  P >= B && ( Ch2 = * P , Ch = * -- P , Should_Loop ) )
      ....
  //  A “ ⏀ ”line is printed when
  //  all of the lines that were killed were Blank.
  LnP  ⏀  = L"⏀", prnQ1 = 0, prnQ2 = 0, prnQ3 = 0 ; ;
      ....
  if ( QL ) {
    //  The line, pointed to by B, is >quoted.
    
    if ( !prnQ3 )
      //  prnQ3 is the bottom-most >quoted line from
      //  a muffled block of >quoted lines
      //  that's been reduced to it's last three nonBlank lines.
      prnQ3 = ⏀ ;
      
    P = B ; LnP  E = B + strSz( B ) - 1 ;
    if (  *E == '-' && *--E == 32 && isalpha( *--E ) ) {
    
      //  The >quoted line ends in "η -".
      //  isalpha() is true for any alphabet-like glyph,
      //  no matter the language.
      WhileBac( Ch == 32 || isalpha( Ch ) );
      
      //  At this point, P points to the start of the
      //  “ - Απόκρυψη κειμένου σε παράθεση - ” line.
      //  False-positives are unlikely.
      if ( E-P > 8 && Ch == '-' && Ch2 == 32 && isalpha( P[2] ) )

        //  Kill the “ - Απόκρυψη κειμένου σε παράθεση - ” bastard !
        *P = 0 ;
    }
    P = B ;  While( Ch <= 32 || Ch == '>' );
    
    if ( Ch ) {
    
      //  Ch is nonZero, so the >quoted line isn't “ blank ”.
      if ( prnQ3 == ⏀ )
        //  Dump the “ ⏀ ”indicator because
        //  there's a nonBank >quoted line to print.
        prnQ3 = 0 ;
      
      //  Shift the bottom 2 lines up one, add B to the bottom.
      prnQ1 = prnQ2, prnQ2 = prnQ3, prnQ3 = B ;
    }
    //  Go to the next line in the body of the post.
    goto nxLn ;
  }
Technical Details
Message-ID: <_@Jeff_Relf.Seattle.2009_Apr27.4.58am.ij>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder8.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail
References: <pla2h9noeyao$.dlg@andrews-corner.org> <hw3tjkjvczu5.1cmnlpbgu66p.dlg@40tude.net> <1gmion7hc2wn0.dlg@skamandros.andrews-corner.org> <zgwpknhip1tf$.mivqpgfn968$.dlg@40tude.net> <slrngv6k8h.882.pjr@pjr.gotdns.org> <6psol7xg4m36.vlv58at8idoz.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <_@Jeff_Relf.Seattle.2009_Apr27.4.58am.ij>
Subject: Google and microSoft both messed up.
Date: Mon, 27 Apr 2009 11:58:53 +0000
From: _@Jeff_Relf.Seattle.inValid
References: <pla2h9noeyao$.dlg@andrews-corner.org> <hw3tjkjvczu5.1cmnlpbgu66p.dlg@40tude.net> <1gmion7hc2wn0.dlg@skamandros.andrews-corner.org> <zgwpknhip1tf$.mivqpgfn968$.dlg@40tude.net> <slrngv6k8h.882.pjr@pjr.gotdns.org> <6psol7xg4m36.vlv58at8idoz.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder8.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail
Newsgroups: news.software.readers
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 87
NNTP-Posting-Host: rHkC8ilpik+gnC7s6RDDMg.user.posting2.glorb.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Mon, 27 Apr 2009 11:58:53 +0000 (UTC)
X-Notice: Scanned by Mr. Bill
User-Agent: JeffRelf.F-M.FM/X.ZIP