[horde] Characterset problem

Jan Schneider jan at horde.org
Mon May 24 13:15:20 PDT 2004


Zitat von pete <pkarttun at siba.fi>:

>> Zitat von pete <pkarttun at siba.fi>:
>
>>> Hi!
>>> Some problems withs scandinavian letters: when using Finnish language
>>> the left
>>> navigation bar gets mixed up because the scandinavian letters are 
>>> not handled
>>> properly. I get there characters like PÃ?ivitÃ? (i hope this comes through)
>>> which confuse the IE totally. Netscape 7 stands this in the navbar but the
>>> tooltips for example are mixed up all the same. I noticed that in the
>>> horde/services/portal/menu.php, every time the $params['name'] is handled
>>> through some function, like Horde::img(...), the letters render
>>> properly. Every
>>> time it is echoed directly in the file it goes wrong.
>>>
>>> I've had this problem now for a while with CVS-versions. Is this a
>>> problem with
>>> my configuration or something else?
>
>> Do I understand you correctly that if you look at the html source of this
>> frame, some scandinavian letters show correct but others not? And if so, do
>> you by chance have PHP 4.2.3?
>
> That is correct. I have php 4.2.2 out of the redhat 9 box. Here's a 
> snapshot of
> navibar frame source:
>
> <tr><td align="center" width="28" height="20"><img
> src="/horde/graphics/tree/blank.gif" alt="Sarjakuvat Päivitä" title="Sarjakuvat
> Päivitä" width="16" height="16" /></td><td width="28" align="center"><a
> href="/horde/klutz/backend.php" onclick="this.blur()"
> onmouseout="window.status='';" onmouseover="window.status='Sarjakuvat Päivitä';
> return true;" class="menuitem sidebaritem" target="horde_main"
> title="Sarjakuvat Päivitä"><img src="/horde/klutz/graphics/klutz.gif"
> alt="Sarjakuvat Päivitä" title="Sarjakuvat Päivitä" /></a></td><td><a
> href="/horde/klutz/backend.php" onclick="this.blur()"
> onmouseout="window.status='';" onmouseover="window.status='Sarjakuvat Päivitä';
> return true;" class="menuitem sidebaritem" target="horde_main"
> title="Sarjakuvat Päivitä">Sarjakuvat PÃ?ivitÃ?</a></td></tr>

That's a broken htmlspecialchars() function in PHP. Update to a newer
version.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php



More information about the horde mailing list