[Evolution] displaying mail source bug?



cheers hackers,

While testing that question about charset encoding, I encountered some
strange behavior, that may be a bug.

From the header:
 Content-Type: text/plain; charset=ISO-8859-15
String within the body using 8859-15 chars:
 'test äöü €'

View / Message / Headers  shows everything as it should be. The body is
displayed correct and all headers visible.

View / Message / Source  cannot display the test string with the 8859-15
chars. Instead I get 'test ??? ?'.

Is this a bug, shall I file it? Or can anyone explain that? ;-)

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]