[Tickets #1052] Sidebar, Problem with umlaut (ä,ö,..) in IE
bugs at bugs.horde.org
bugs at bugs.horde.org
Sun Jan 2 06:49:02 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1052
-----------------------------------------------------------------------
Ticket | 1052
Updated By | mail at flobauer.net
Summary | Sidebar, Problem with umlaut (ä,ö,..) in IE
Queue | Horde Base
Version | 3.0
State | Feedback
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
mail at flobauer.net (2005-01-02 06:49) wrote:
Found the Problem:
The label of the Node with the umlaut was encoded with:
xxx\0äyyy .... for an "ä"
xxx\0öyyy ... for an "ö" ... and so on, so the umlaut got a prefix "\0"
(don't know why)
I added to templates/javascript/tree.js on line 319
var re = new RegExp ('\0', 'gi') ;
var label = label.replace(re, '') ;
before:
return '<a' + urlClass + ' href="' + this.nodes[nodeId]['url'] + '"' +
target + onclick + '>' + label + '</a>';
Dirty hack, but it works .... would be good to find out, why this "\0" thing
happens.
More information about the bugs
mailing list