AW: [imp] Characters not displayd
Jan Schneider
jan@horde.org
Sat, 25 May 2002 12:52:52 +0200
Zitat von Tilo Lutz <TiloLutz@gmx.de>:
> >>> 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.
Noone has ever seen this before, so I guess there's either something broken
on your system or the messages you get are somehow broken. If you like you
can bounce me such a message, but please tell me before or it will die in
the spam filter. :-)
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft