prodevel has asked for the wisdom of the Perl Monks concerning the following question:
I've been receiving attached ascii positional files from
1000+ users for about 6 mos. now, and noticed a new attch.
encoding "format=flowed" I've been using munpack to parse
these files out and play w/them, but it doesn't seem to
like this encoding. Of course, I've searched the www,
although I only get some loose rules, e.g. lines end @ 75-80
and replace \n w/space when midline, etc.
I'm fairly desperate to get another method of unpacking
these attachments and wondered if any of you reverant
monks have had a similar exprerience.
Forever indebted, Rob
Re: munpack and format=flowed
by chromatic (Archbishop) on Jul 01, 2000 at 20:53 UTC
|
Looks like that encoding is specified in RFC2646, so that's the first place to look for the gooey details.
I'd take a look at the CPAN for Mime-tools, as that takes care of gory stuff for you in many cases. I've not used it for that format, so I won't promise miracles. (It looks like that format adds an extra space on the end of the line and tries to break things up into paragraphs. Interesting.) | [reply] |
|