[imp] Message-Display ignores MIME charset

Jan Schneider jan@horde.org
Fri, 16 Nov 2001 15:43:43 +0100


I forgot to mention a problem: There are a lot of "compatible" charsets 
like ISO-8859-1 and win-1252 which can be displayed mixed. This won't work 
anymore of course.

Jan.

Zitat von Jan Schneider <jan@horde.org>:

> Perhaps I have a fix for this. It's only a few lines of code and seems to
> 
> work, so far I have tested.
> 
> When we decide to display a message inline or not we can check for the 
> charset too. If it differs the charset we use for the ui and is not us-
> ascii we don't show it inline but provide a link to the text mime viewer.
> I 
> added a few lines to MIME_Part, view.php and the text viewer so that it
> 
> returns the correct charset if one is set.
> 
> Comments?
> 
> Jan.
> 
> ::::::::::::::::::::::::::::::::::::::::
> 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
> ::::::::::::::::::::::::::::::::::::::::::::::
> 
> -- 
> 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
> 
> 


Jan.

::::::::::::::::::::::::::::::::::::::::
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
::::::::::::::::::::::::::::::::::::::::::::::