From: "F. Senault" Date: 2006-12-05T19:20:08+09:00 Subject: Re: Gateway is malfunctioning Le 2 d�cembre 2006 � 22:11, James Edward Gray II a �crit : > On Dec 2, 2006, at 1:50 PM, Ross Bamford wrote: > >> Assuming that the base64 encoding was done to cope with UTF8 in the >> source, is there no way we can improve the distribution situation? > > Here's what I said to Fred on the subject: > > "I'm guessing we could get radical and read incoming emails with an > email library, then use that to compose a sensical Usenet post. That > way we could pull the text section of a multipart/alternative > message. Attachments are trickier and I guess we would have to > inline them. That would work for simple Ruby scripts, but it gets > more complicated when someone posts something like a zipped archive > file. This path leads to the Dark Side (tm) : content mangling of a message (even if it's transcoding). It's usually considered very bad mojo to touch anything else than the headers... (At least, I'll have someone to blame if I typo something in a post... :P) > There would still be situations it couldn't handle, but maybe we > could reduce them. This sure sounds like work though. ;) Yep. I'm not sure there are any good fast libraries to treat MIME, and transfer-encodings out there ? > I'm considering making the Gateway code public now that I have > rewritten it. Maybe this will encourage enterprising souls to hack > on it a bit for features like this." That's definitely a good idea. > We just need to remember that we are joining two worlds with > different rules here. What he said. > James Edward Gray II Fred -- So sorry your world is tumbling down I will watch you through these nights Rest your head and go to sleep (Within Temptation, Because my child, this is not our farewell Our Farewell)