To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.suggestionsOpen lugnet.admin.suggestions in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / Suggestions / 652
651  |  653
Subject: 
Re: quoted-printable support
Newsgroups: 
lugnet.admin.suggestions, lugnet.admin.nntp
Date: 
Sun, 18 May 2003 17:57:33 GMT
Viewed: 
5580 times
  
"Todd Lehman" <todd@lugnet.com> writes:
> In lugnet.admin.suggestions, William R. Ward writes:
> > [...]
> > LUGNET should detect this and convert the =NN codes to the appropriate
> > characters (NN is the hexadecimal value for the encoded characters).
> 
> Heh heh, funny you should mention that...  Last night I was just thinking
> about this again and am 98% ready to deploy a fix.  I've really noticed the
> increase in these posts lately too (especially coming in through the
> News-by-Mail gateways).
> 
> A which back, Dan Boger contributed a Perl5 script which does the conversion
> to 8bit content transfer encoding.  We did a bunch of regression testing,
> feeding it old article data, but then it fell between the cracks.  The open
> issue is what to do with lines greater than 80 columns...  The
> quoted-printable transfer encoding decodes to some pretty nasty long lines
> in some cases.  I'm tempted to simply word-wrap lines that don't begin with '>'.

I think s/=$/\n/ would be adequate for that case.  You could always
improve it later.

--Bill.

--
William R Ward            bill@wards.net          http://www.wards.net/~bill/
-----------------------------------------------------------------------------
"A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines."        - Emerson



Message has 1 Reply:
  Re: quoted-printable support
 
(...) Adding a second newline? You mean $body =~ s/=\n/\n/g or $body =~ s/=$//m ? Any of those would break words in half. (The = at the end isn't guaranteed to occur at a line break.) --Todd (23 years ago, 18-May-03, to lugnet.admin.suggestions, lugnet.admin.nntp)

Message is in Reply To:
  Re: quoted-printable support
 
(...) Heh heh, funny you should mention that... Last night I was just thinking about this again and am 98% ready to deploy a fix. I've really noticed the increase in these posts lately too (especially coming in through the News-by-Mail gateways). A (...) (23 years ago, 16-May-03, to lugnet.admin.suggestions, lugnet.admin.nntp)

13 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR