[imp] Message-Display ignores MIME charset

Jan Schneider jan@horde.org
Fri, 16 Nov 2001 14:06:47 +0100


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

> I do know next to nothing about PHP, so somebody else please test this
> con-
> jecture (or let's say: educated guess). As an example string you could
> use
> in this test, I'll append the Russian line (this time correctly labelled
> as
> UTF-8); its UTF-8 encoding contains an A0 byte which is not legal in
> ISO 8859-1. As ISO 8859-1 is obviously handled by PHP, this is the only
> possible trouble-spot to be tested.
> 
> Best wishes,
>    Otto Stolz
> 
> --------- Russian Example -------
> Я говорю Руский язык очен плохо.

As I use imp what implies php to read this mail, I can confirm that php has 
no problems with this special character. And I checked the html source code 
to make sure it really is the A0 character.

If I switch to utf-8 it becomes a "y". If this is the expected behaviour we 
should probably have at least with php no problems using unicode.

But another problems comes to my mind. If want to change the Horde/IMP 
output to unicode we have no problem with the default output which should 
be all ascii but all translations have to be done in unicode. At least my 
editor doesn't support this, I don't know if it is a limitation of the 
editor or of the installed fonts.

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