[imp] Message-Display ignores MIME charset

Jan Schneider jan@horde.org
Fri, 16 Nov 2001 16:10:40 +0100


Zitat von Otto Stolz <Otto.Stolz@uni-konstanz.de>:

> Jan Schneider wrote:
> 
> > 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 reckon, this is a very good idea for a short-term fix of this
> problem.
> If I understand the implications correctly, it will display the message
> in a separate window in exactly those cases when it is appropriate, but
> does not interfer with the UI, otherwise.

Correct.
 
> > 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.
> 
> I'd like to try your idea with our Imp installation, however, there is
> no
> view.php file. Does your fix apply to IMP 2.2.6, as well? If so, in
> which
> file should it go (imp/message.php3 ?), and what is its exact wording?

As I said this won't definitely not go into the imp 2.2 tree. The changes I 
tried are done on the current 3.0 development tree.

We have a complete mime framework in the new version which makes it so easy 
to change things with only a few lines of code.

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