[imp] Different attachments with different languages

Jan Schneider janmailing@gmx.de
Mon, 30 Jul 2001 21:53:27 +0000


I got it. Perhaps it's the same problem, Robert Marchand has.

The mimeSummary in imp 2.2 and the partSummary in imp 2.3 both do:
if (!($mime->size > 0)) return ''

If you got an attachment with, let's say, a size of 0.5 this is interpretated 
different if you have different locale settings. In German locale you have to 
write 0,5 instead of 0.5 thus the greater-than-test fails.

I already fixed this and will commit it in a minute,

Jan.

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > > > I recently discovered a really strange thing: I sent a test mail to me
> 
> > > > with to attachments.
> > > > The 'Part(s)' info only showed me one attachment but with the right
> > > > number (3). 
> > > > After I changed my language from German to English both attachements
> > > > were shown 
> > > > (2 and 3).
> > > 
> > > Weird. Can you bounce me the message in question?
> > 
> > Of course, I'll do so.
> 
> I can't reproduce this with the test message... My only thought is that maybe
> 
> it's an html/translation quirk?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::