Summary | Sidebar, Problem with umlaut (�,�,..) in IE |
Queue | Horde Base |
Queue Version | 3.0 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | mail (at) flobauer (dot) net |
Created | 01/02/2005 (7488 days ago) |
Due | |
Updated | 05/22/2007 (6618 days ago) |
Assigned | 05/21/2007 (6619 days ago) |
Resolved | 05/22/2007 (6618 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
New Attachment: horde-test-pcre-tests.patch
preg_match_all("/(.{1})/su", $var, $m);
was added precisely because the old code (using String functions) did
not work in several cases. So a fallback function is most likely out
of the question.
purpose of preg_match().
Also we could use a pattern that always matches like this:
echo "Result: ".preg_match("/.*/u", "test")."\n";
I just disabled utf-8 support again to test it. On the command line I
have even seen an error message:
"Warning: preg_match(): Compilation failed: this version of PCRE is
not compiled with PCRE_UTF8 support at offset 0."
purpose of preg_match().
we should add a test to test.php to display a warning if it's not
compiled in.
to enable utf-8 mode.
function call failed:
we should add a test to test.php to display a warning if it's not
compiled in.
Horde_Serialize::serialize(SERIALIZE_JSON) converts the input to UTF-8 anway.
function call failed:
should add a test to test.php to display a warning if it's not
compiled in.
Horde_Serialize::serialize(SERIALIZE_JSON) converts the input to UTF-8 anway.
I was using a PCRE version without utf-8 support and so the following
function call failed:
preg_match_all("/(.{1})/su", $var, $m);
This function is used to split a string into utf-8 characters. I've
got it working now but maybe we need some kind of fallback code here.
Horde_Serialize::serialize(JSON). I'm currently debugging it.
name is not displayed at all, but the icon is still clickable. Tested
with Konqueror 3.5.6 and Firefox
time in DIMP and it always turns out to be an issue with overflow or
something similar.
Gunnar can't reproduce it either.
If I switch the Horde_Tree renderer from javascript to HTML, the
problem is gone.
Maybe it's a charset issue, I use quite an old glibc. I'll try to investigate.
Thomas
State ⇒ Feedback
name is not displayed at all, but the icon is still clickable. Tested
with Konqueror 3.5.6 and Firefox 1.5.
State ⇒ Resolved
State ⇒ Feedback
have, and does it change after the menu refreshed?
State ⇒ Assigned
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.
bug 809is something else.I found something interesting:
if i create a imap folder in IMP with an umlaut, it is displayed
correctly in the sidebar and the umlaut "ä" (ae) is encoded in "g&5A-"
if i create the folder in Thunderbird or Outlook, the error occures
and the "ä" is encoded with "&AOQ-" (seems that IE do not like this
encoding)
bug 809. Please confirm, and if so, find somecommon points of both your systems.
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ Horde Base
Type ⇒ Bug
Summary ⇒ Sidebar, Problem with umlaut (ä,ö,..) in IE
ä,ö,ü) in a foldername (eg. imp -> imap foldername) appears. This
problem appears only in IE (v. 6), Firefox 1.0 and Opera 7 show the
correct tree.
Screenshot IE:
http://www.flobauer.net/screenshot_ie.jpg
Screenshot Firefox:
http://www.flobauer.net/screenshot_firefox.jpg