AW: [imp] Characters not displayd

Tilo Lutz TiloLutz@gmx.de
Sat, 25 May 2002 11:49:16 +0200


>>> The latest IMP-Version (CVS) doesn't show charakters like ä,ö,ü,ß
>>> (ae, oe, ue, ss) if I take a lock at ae email.
>>> But if I press the reply-button these charakters are displayd correct
>>> in the apearing windows.
>>> Any idea whats wrong?

>> I've modified the file imp/lib/MIME/Viewers/text.php
> I've localized the problem.
> If've put the line $text = str_replace("ä", "ä", $text);
> in the file text.php so I get displayed some characters insted of
> "ä". But after line 48
> $text = htmlspecialchars($text, ENT_QUOTES, $charset);
> I won't get displayed "ä".

After changeing line 44, $charset = $this->getCharset($mime);
to $charset = Lang::getCharset(); these characters are displayed.

But I think this is a very, vaery dirty hack.

Tilo Lutz