<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Sidebar, Problem with umlaut (�,�,..) in IE</title> 
  <pubDate>Fri, 10 Apr 2026 09:21:02 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1052</link> 
  <atom:link rel="self" type="application/rss+xml" title="Sidebar, Problem with umlaut (�,�,..) in IE" href="https://bugs.horde.org/ticket/1052/rss" /> 
  <description>Sidebar, Problem with umlaut (�,�,..) in IE</description> 
 
   
   
  <item> 
   <title>The tree in the sidebar ends at the point,  where an umlaut </title> 
   <description>The tree in the sidebar ends at the point,  where an umlaut (like ä,ö,ü) in a foldername (eg. imp -&gt; 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

</description> 
   <pubDate>Sun, 02 Jan 2005 11:38:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t4036</link> 
  </item> 
   
  <item> 
   <title>Might be a duplicate of bug 809. Please confirm, and if so, </title> 
   <description>Might be a duplicate of bug 809. Please confirm, and if so, find some common points of both your  systems.</description> 
   <pubDate>Sun, 02 Jan 2005 11:57:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t4037</link> 
  </item> 
   
  <item> 
   <title>No, I think bug 809 is something else.



I found something </title> 
   <description>No, I think bug 809 is 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 &quot;ä&quot; (ae) is encoded in &quot;g&amp;5A-&quot;



if i create the folder in Thunderbird or Outlook, the error occures and the &quot;ä&quot; is encoded with &quot;&amp;AOQ-&quot; (seems that IE do not like this encoding)</description> 
   <pubDate>Sun, 02 Jan 2005 12:10:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t4039</link> 
  </item> 
   
  <item> 
   <title>Found the Problem:



The label of  the Node with the umlaut</title> 
   <description>Found the Problem:



The label of  the Node with the umlaut was encoded with:

xxx\0äyyy  .... for an &quot;ä&quot;

xxx\0öyyy ... for an &quot;ö&quot; ... and so on, so the umlaut got a prefix &quot;\0&quot; (don&#039;t know why)



I added to templates/javascript/tree.js on line 319



var re = new RegExp (&#039;\0&#039;, &#039;gi&#039;) ;

var label = label.replace(re, &#039;&#039;) ;



before:

return &#039;&lt;a&#039; + urlClass + &#039; href=&quot;&#039; + this.nodes[nodeId][&#039;url&#039;] + &#039;&quot;&#039; + target + onclick + &#039;&gt;&#039; + label + &#039;&lt;/a&gt;&#039;;



Dirty hack, but it works .... would be good to find out, why this &quot;\0&quot; thing happens.

</description> 
   <pubDate>Sun, 02 Jan 2005 14:49:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t4041</link> 
  </item> 
   
  <item> 
   <title>What charset do the &quot;normal&quot; pages have, what charset does t</title> 
   <description>What charset do the &quot;normal&quot; pages have, what charset does the menu have, and does it change after the menu refreshed?</description> 
   <pubDate>Mon, 03 Jan 2005 17:56:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t4103</link> 
  </item> 
   
  <item> 
   <title>Both have ISO-8859-1 and refresh do not change anything.</title> 
   <description>Both have ISO-8859-1 and refresh do not change anything.</description> 
   <pubDate>Wed, 05 Jan 2005 10:03:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t4182</link> 
  </item> 
   
  <item> 
   <title>Should be fixed in CVS now. Will be in Horde 3.0.2.</title> 
   <description>Should be fixed in CVS now. Will be in Horde 3.0.2.</description> 
   <pubDate>Wed, 05 Jan 2005 14:48:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t4191</link> 
  </item> 
   
  <item> 
   <title>I see this bug again with horde cvs-HEAD and imp cvs-HEAD. T</title> 
   <description>I see this bug again with horde cvs-HEAD and imp cvs-HEAD. The folder name is not displayed at all, but the icon is still clickable. Tested with Konqueror 3.5.6 and Firefox 1.5.

</description> 
   <pubDate>Sat, 19 May 2007 10:08:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33196</link> 
  </item> 
   
  <item> 
   <title>Can anyone else reproduce this?</title> 
   <description>Can anyone else reproduce this?</description> 
   <pubDate>Mon, 21 May 2007 18:37:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33292</link> 
  </item> 
   
  <item> 
   <title>Not me.</title> 
   <description>Not me.</description> 
   <pubDate>Mon, 21 May 2007 22:01:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33308</link> 
  </item> 
   
  <item> 
   <title>Thanks for reproducing, Jan.

Gunnar can&#039;t reproduce it eith</title> 
   <description>Thanks for reproducing, Jan.

Gunnar can&#039;t reproduce it either.



If I switch the Horde_Tree renderer from javascript to HTML, the problem is gone.

Maybe it&#039;s a charset issue, I use quite an old glibc. I&#039;ll try to investigate.



Thomas

</description> 
   <pubDate>Tue, 22 May 2007 08:51:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33329</link> 
  </item> 
   
  <item> 
   <title>&gt; I see this bug again with horde cvs-HEAD and imp cvs-HEAD.</title> 
   <description>&gt; I see this bug again with horde cvs-HEAD and imp cvs-HEAD. The folder 

&gt; name is not displayed at all, but the icon is still clickable. Tested 

&gt; with Konqueror 3.5.6 and Firefox 



Are you sure this isn&#039;t a CSS issue?  This same issue crops up time to time in DIMP and it always turns out to be an issue with overflow or something similar.</description> 
   <pubDate>Tue, 22 May 2007 08:54:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33330</link> 
  </item> 
   
  <item> 
   <title>&gt; Are you sure this isn&#039;t a CSS issue?



As far as I have t</title> 
   <description>&gt; Are you sure this isn&#039;t a CSS issue?



As far as I have traced it yet, the folder name get&#039;s lost in Horde_Serialize::serialize(JSON). I&#039;m currently debugging it.

</description> 
   <pubDate>Tue, 22 May 2007 09:20:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33331</link> 
  </item> 
   
  <item> 
   <title>Which charset is your interface using?</title> 
   <description>Which charset is your interface using?</description> 
   <pubDate>Tue, 22 May 2007 10:45:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33335</link> 
  </item> 
   
  <item> 
   <title>&gt; Which charset is your interface using?



ISO-8559-1.



H</title> 
   <description>&gt; Which charset is your interface using?



ISO-8559-1.



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(&quot;/(.{1})/su&quot;, $var, $m);



This function is used to split a string into utf-8 characters. I&#039;ve got it working now but maybe we need some kind of fallback code here.</description> 
   <pubDate>Tue, 22 May 2007 13:41:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33340</link> 
  </item> 
   
  <item> 
   <title>&gt; I was using a PCRE version without utf-8 support and so th</title> 
   <description>&gt; I was using a PCRE version without utf-8 support and so the following 

&gt; function call failed:



We could also assume PCRE with utf-8 support is standard by now and we should add a test to test.php to display a warning if it&#039;s not compiled in.

</description> 
   <pubDate>Tue, 22 May 2007 13:44:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33341</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Which charset is your interface using?

&gt;

&gt; ISO-8559-1.
</title> 
   <description>&gt;&gt; Which charset is your interface using?

&gt;

&gt; ISO-8559-1.

&gt;

&gt; Horde_Serialize::serialize(SERIALIZE_JSON) converts the input to UTF-8 anway.



Correct, JSON data must be UTF-8 encoded.</description> 
   <pubDate>Tue, 22 May 2007 14:00:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33342</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I was using a PCRE version without utf-8 support and so t</title> 
   <description>&gt;&gt; I was using a PCRE version without utf-8 support and so the following

&gt;&gt; function call failed:

&gt;

&gt; We could also assume PCRE with utf-8 support is standard by now and 

&gt; we should add a test to test.php to display a warning if it&#039;s not 

&gt; compiled in.



But how can you test this?</description> 
   <pubDate>Tue, 22 May 2007 14:01:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33345</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; We could also assume PCRE with utf-8 support is standard </title> 
   <description>&gt;&gt; We could also assume PCRE with utf-8 support is standard by now and

&gt;&gt; we should add a test to test.php to display a warning if it&#039;s not

&gt;&gt; compiled in.

&gt;

&gt; But how can you test this?



preg_match_all returns FALSE if you specify the &quot;u&quot; pattern modifier to enable utf-8 mode.</description> 
   <pubDate>Tue, 22 May 2007 14:18:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33346</link> 
  </item> 
   
  <item> 
   <title>But it also returns false if it doesn&#039;t match, which is the </title> 
   <description>But it also returns false if it doesn&#039;t match, which is the whole purpose of preg_match().</description> 
   <pubDate>Tue, 22 May 2007 14:24:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33349</link> 
  </item> 
   
  <item> 
   <title>&gt; But it also returns false if it doesn&#039;t match, which is th</title> 
   <description>&gt; But it also returns false if it doesn&#039;t match, which is the whole 

&gt; purpose of preg_match().



It returns (int)0 if it doesn&#039;t match and (boolean)false if there&#039;s an error.

Also we could use a pattern that always matches like this:



echo &quot;Result: &quot;.preg_match(&quot;/.*/u&quot;, &quot;test&quot;).&quot;\n&quot;;



I just disabled utf-8 support again to test it. On the command line I have even seen an error message:  

&quot;Warning: preg_match(): Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0.&quot;

</description> 
   <pubDate>Tue, 22 May 2007 14:39:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33352</link> 
  </item> 
   
  <item> 
   <title>BTW, this check:

preg_match_all(&quot;/(.{1})/su&quot;, $var, $m);

w</title> 
   <description>BTW, this check:

preg_match_all(&quot;/(.{1})/su&quot;, $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.</description> 
   <pubDate>Tue, 22 May 2007 15:15:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33355</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; But it also returns false if it doesn&#039;t match, which is t</title> 
   <description>&gt;&gt; But it also returns false if it doesn&#039;t match, which is the whole

&gt;&gt; purpose of preg_match().

&gt;

&gt; It returns (int)0 if it doesn&#039;t match and (boolean)false if there&#039;s an error.

&gt; Also we could use a pattern that always matches like this:

&gt;

&gt; echo &quot;Result: &quot;.preg_match(&quot;/.*/u&quot;, &quot;test&quot;).&quot;\n&quot;;

&gt;

&gt; I just disabled utf-8 support again to test it. On the command line I 

&gt; have even seen an error message:

&gt; &quot;Warning: preg_match(): Compilation failed: this version of PCRE is 

&gt; not compiled with PCRE_UTF8 support at offset 0.&quot;



I&#039;m in favor of a test.php addition with this strategy.</description> 
   <pubDate>Tue, 22 May 2007 16:56:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33362</link> 
  </item> 
   
  <item> 
   <title>Patch: Add test for PCRE and PCRE utf-8 support in test.php
</title> 
   <description>Patch: Add test for PCRE and PCRE utf-8 support in test.php

</description> 
   <pubDate>Tue, 22 May 2007 17:25:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33366</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks.</title> 
   <description>Committed, thanks.</description> 
   <pubDate>Tue, 22 May 2007 17:39:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1052#t33375</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
