<?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>DIMP preview not working</title> 
  <pubDate>Fri, 10 Apr 2026 14:49:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5955</link> 
  <atom:link rel="self" type="application/rss+xml" title="DIMP preview not working" href="https://bugs.horde.org/ticket/5955/rss" /> 
  <description>DIMP preview not working</description> 
 
   
   
  <item> 
   <title>When I click on a mail, I can&#039;t see any data in the bottom w</title> 
   <description>When I click on a mail, I can&#039;t see any data in the bottom windows. I briefly see the clock running, but nothing to see. If I double click, everything appears .



And also:

subjects are truncated if there&#039;s a non ascii char in subject

Objet:  [sysadm] Questionnaire d&#039;évaluation de &quot;Safari Technical Books Online&quot; 



which is coded as follow:

Subject: [sysadm] =?ISO-8859-1?Q?Questionnaire_d&#039;=E9valuation_de_&quot;Safari_?=

 =?ISO-8859-1?Q?Technical_Books_Online&quot;?=

</description> 
   <pubDate>Mon, 03 Dec 2007 17:25:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t39292</link> 
  </item> 
   
  <item> 
   <title>Such behavior is often triggered by broken c-client librarie</title> 
   <description>Such behavior is often triggered by broken c-client libraries, did you try that on a different web server?

Also, did you enable debugging in DIMP and got some javascript errors, either in a popup message or through the javascript console/firebug?</description> 
   <pubDate>Tue, 04 Dec 2007 10:16:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t39338</link> 
  </item> 
   
  <item> 
   <title>Or, more than likely, it is a broken message.  PHP&#039;s json mo</title> 
   <description>Or, more than likely, it is a broken message.  PHP&#039;s json module will terminate strings if there is an incorrect character.</description> 
   <pubDate>Tue, 04 Dec 2007 20:02:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t39380</link> 
  </item> 
   
  <item> 
   <title>&gt; Or, more than likely, it is a broken message.  PHP&#039;s json </title> 
   <description>&gt; Or, more than likely, it is a broken message.  PHP&#039;s json module will 

&gt; terminate strings if there is an incorrect character.



So that is why it won&#039;t display in the preview (the message is loaded via JSON) and it will display in the popup (since the message is loaded via a straight HTML call).</description> 
   <pubDate>Tue, 04 Dec 2007 20:05:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t39383</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Or, more than likely, it is a broken message.  PHP&#039;s json</title> 
   <description>&gt;&gt; Or, more than likely, it is a broken message.  PHP&#039;s json module will

&gt;&gt; terminate strings if there is an incorrect character.

&gt;

&gt; So that is why it won&#039;t display in the preview (the message is loaded 

&gt; via JSON) and it will display in the popup (since the message is 

&gt; loaded via a straight HTML call).



I uninstalled json (commented in php.ini, checked in test.php)

And there is no difference. IMP is working perfectly

Also,  Sender in DIMP does not support non ascii charset

But trying to see english messages is broken too.



As I said, double click is OK



Dom 



Server is a debian etch, a rather classic installation.

</description> 
   <pubDate>Wed, 05 Dec 2007 09:55:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t39401</link> 
  </item> 
   
  <item> 
   <title>OK. I just begin to understand (a little bit) what is wrong
</title> 
   <description>OK. I just begin to understand (a little bit) what is wrong

If I choose english as my language and a pure ascii text, I can see the mail in preview.

If I choose french, preview is broken regardless of the charset in the mail



I confirmed that Subject and Sender do not support non ascii char



And dbleclick on a mail throw an error in firebug:

malformed URI sequence messages.php line 25



DimpCore.setTitle(decodeURIComponent(&#039;RE%3A%20SHERPAA%20%3A%20Intervention%20imp%E9rieuse%20de%20maintenance%20sur%20le%20routeur%20P%2FPE%20de%20Marseille%20ce%20soir%20%E0%2019h%20%2F%20Prochaines%20interventions%20programm%E9es%20sur%20le%20Backbone%20Sherpaa&#039;))





&gt;&gt;&gt; Or, more than likely, it is a broken message.  PHP&#039;s json module will

&gt;&gt;&gt; terminate strings if there is an incorrect character.

&gt;&gt;

&gt;&gt; So that is why it won&#039;t display in the preview (the message is loaded

&gt;&gt; via JSON) and it will display in the popup (since the message is

&gt;&gt; loaded via a straight HTML call).

&gt;

&gt; I uninstalled json (commented in php.ini, checked in test.php)

&gt; And there is no difference. IMP is working perfectly

&gt; Also,  Sender in DIMP does not support non ascii charset

&gt; But trying to see english messages is broken too.

&gt;

&gt; As I said, double click is OK

&gt;

&gt; Dom

&gt;

&gt; Server is a debian etch, a rather classic installation.

&gt;

</description> 
   <pubDate>Thu, 06 Dec 2007 09:26:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t39490</link> 
  </item> 
   
  <item> 
   <title>Please provide an example message that triggers this behavio</title> 
   <description>Please provide an example message that triggers this behavior. Or does this happen with any message? Also, is it dependent on the language you have chosen?</description> 
   <pubDate>Tue, 18 Dec 2007 18:50:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t40050</link> 
  </item> 
   
  <item> 
   <title>&gt; I confirmed that Subject and Sender do not support non asc</title> 
   <description>&gt; I confirmed that Subject and Sender do not support non ascii char



This is a bogus statement.  Hundreds of thousands of messages a day are being sent on dimp systems, and many of these messages use non-ASCII characters.



&gt; And dbleclick on a mail throw an error in firebug:

&gt; malformed URI sequence messages.php line 25

&gt;

&gt; DimpCore.setTitle(decodeURIComponent(&#039;RE%3A%20SHERPAA%20%3A%20Intervention%20imp%E9rieuse%20de%20maintenance%20sur%20le%20routeur%20P%2FPE%20de%20Marseille%20ce%20soir%20%E0%2019h%20%2F%20Prochaines%20interventions%20programm%E9es%20sur%20le%20Backbone%20Sherpaa&#039;))



Exactly why we need the source of the message because it appears that the subject of this message is broken.</description> 
   <pubDate>Thu, 20 Dec 2007 08:44:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t40104</link> 
  </item> 
   
  <item> 
   <title>i&#039;m using the the current snap of horde, dimp, imp ...



no</title> 
   <description>i&#039;m using the the current snap of horde, dimp, imp ...



normaly, i would like to use the german language and the dynamic mode. but if i use it, i cannot preview the messages and my portal page is empty (double click on a message works).



but if i change to the english (american) language, i can use the dynamic horde with no problems (message preview works, on the portal page i can see the modules like &quot;Folder summary&quot;, &quot;Calender summary&quot; ....)



i hope this can help to solve the problems with dimp and other languages than us-english...</description> 
   <pubDate>Fri, 28 Dec 2007 13:19:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t40472</link> 
  </item> 
   
  <item> 
   <title>I also have this problem but I&#039;m running PHP and Horde on a </title> 
   <description>I also have this problem but I&#039;m running PHP and Horde on a Windows 2003 Server. Only Engilsh (US) works.



</description> 
   <pubDate>Tue, 01 Jan 2008 20:32:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t40615</link> 
  </item> 
   
  <item> 
   <title>Works fine for me.  Jan, you are probably using de_DE as you</title> 
   <description>Works fine for me.  Jan, you are probably using de_DE as your language - does this work for you?</description> 
   <pubDate>Thu, 03 Jan 2008 07:39:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t40651</link> 
  </item> 
   
  <item> 
   <title>Yes, I don&#039;t see this. This might be a Window thing. But I h</title> 
   <description>Yes, I don&#039;t see this. This might be a Window thing. But I have access to dtrevor255&#039;s server, so I&#039;ll probably take a look at it soon.</description> 
   <pubDate>Thu, 03 Jan 2008 08:31:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t40657</link> 
  </item> 
   
  <item> 
   <title>This happened to me in the past too.



Basically, on the vi</title> 
   <description>This happened to me in the past too.



Basically, on the viewport, if a subject had a non-ascii char, the subject line would be cut off there. I wouldn&#039;t also see the preview for that message. If I opened the message in a new window, I could see the message perfectly.



The problem was a locale problem. Don&#039;t ask why, but set the all relevant charsets in your /etc/locale-gen file and run &quot;locale-gen&quot;.



In my case,

# cat /etc/locale.gen

en_GB ISO-8859-1

en_GB.ISO-8859-15 ISO-8859-15

en_GB.UTF-8 UTF-8

en_US ISO-8859-1

en_US.ISO-8859-15 ISO-8859-15

en_US.UTF-8 UTF-8

pt_PT ISO-8859-1

pt_PT.UTF-8 UTF-8

pt_PT.UTF-8@euro UTF-8

pt_PT@euro ISO-8859-15



# locale-gen

Generating locales (this might take a while)...

  en_GB.ISO-8859-1... done

  en_GB.ISO-8859-15... done

  en_GB.UTF-8... done

  en_US.ISO-8859-1... done

  en_US.ISO-8859-15... done

  en_US.UTF-8... done

  pt_PT.ISO-8859-1... done

  pt_PT.UTF-8... done

  pt_PT.UTF-8@euro... done

  pt_PT.ISO-8859-15@euro... done



Hope it helps.





</description> 
   <pubDate>Tue, 01 Apr 2008 15:47:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t44300</link> 
  </item> 
   
  <item> 
   <title>It sounds like the subjects are in the wrong charset and thu</title> 
   <description>It sounds like the subjects are in the wrong charset and thus charset conversion is causing invalid characters to be added to the string.</description> 
   <pubDate>Tue, 01 Apr 2008 18:47:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t44303</link> 
  </item> 
   
  <item> 
   <title>For those having problems:

1. Does changing &quot;The default ch</title> 
   <description>For those having problems:

1. Does changing &quot;The default charset for messages with no charset information&quot; setting in IMP fix this at all

2. You really need to be using the latest version of PHP because there have been a bunch of fixes to the json parsing code (now included w/PHP distribution) since PHP 5.2.0 dealing with invalid data/charsets.  The PECL extension is badly out-of-date.</description> 
   <pubDate>Thu, 03 Apr 2008 17:05:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t44364</link> 
  </item> 
   
  <item> 
   <title>I&#039;m using DIMP RC4 and when i click on a message the preview</title> 
   <description>I&#039;m using DIMP RC4 and when i click on a message the preview seems to be charged but then i can see only this:



To preview a message, select it from the list above. A right-click on the messages will display available actions.

Click on a message while holding down the CTRL key to select multiple messages. To select a range of messages, click the first message of the range, navigate to the last message of the range, and then click on the last message while holding down the SHIFT key.



The following keyboard shortcuts are available:

UP/DOWN Arrow keys: Move up/down through the message list.

PAGE UP/PAGE DOWN keys: Move one page up/down through the message list.

HOME/END keys: Move to the beginning/end of the message list.

DELETE key: Delete the currently selected message(s). SHIFT-DELETE will delete the current message and move to the next message if a single message is selected.

ENTER key: Open message(s) in a popup window.

CTRL-A: Select all messages in the current mailbox.



The message can be viewed opening the message in another window.



I&#039;ve the same problem on Safari, Camino and Firefox</description> 
   <pubDate>Mon, 07 Apr 2008 08:06:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t44470</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;m using DIMP RC4 and when i click on a message the previ</title> 
   <description>&gt; I&#039;m using DIMP RC4 and when i click on a message the preview seems to 

&gt; be charged but then i can see only this:



And what about both of Michael&#039;s questions?</description> 
   <pubDate>Wed, 16 Apr 2008 16:54:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t44665</link> 
  </item> 
   
  <item> 
   <title>&gt; For those having problems:

&gt; 1. Does changing &quot;The defaul</title> 
   <description>&gt; For those having problems:

&gt; 1. Does changing &quot;The default charset for messages with no charset 

&gt; information&quot; setting in IMP fix this at all

&gt; 2. You really need to be using the latest version of PHP because 

&gt; there have been a bunch of fixes to the json parsing code (now 

&gt; included w/PHP distribution) since PHP 5.2.0 dealing with invalid 

&gt; data/charsets.  The PECL extension is badly out-of-date.

(debian etch)

Pb is the same : no previous but double click works fine

1) that don&#039;t solve problem for me

2) PHP version 5.2.0-8 on debian ( how can i try to take another version to try)



Thx in advance</description> 
   <pubDate>Mon, 21 Apr 2008 15:55:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t44763</link> 
  </item> 
   
  <item> 
   <title>I can confirm that using PHP versions prior to 5.2.4 may not</title> 
   <description>I can confirm that using PHP versions prior to 5.2.4 may not handle 8-bit characters correctly in json in certain situations.  Made a note in dimp/docs/INSTALL of this.  Since this is a PHP issue, closing the bug.</description> 
   <pubDate>Mon, 21 Apr 2008 16:47:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t44766</link> 
  </item> 
   
  <item> 
   <title>&gt; I can confirm that using PHP versions prior to 5.2.4 may n</title> 
   <description>&gt; I can confirm that using PHP versions prior to 5.2.4 may not handle 

&gt; 8-bit characters correctly in json in certain situations.  Made a 

&gt; note in dimp/docs/INSTALL of this.  Since this is a PHP issue, 

&gt; closing the bug.



I just reinstalled groupware webmail edition 1.1 and got the same behaviour. So, I followed your statement and installed a very uptodate php version. I was able to see the beginning of a subject or a mail till I reach a non ascii char. What was strange, when I dble click, I was able to see the mail..

Finaly we discovered that it was a problem of locales installation. On that test machine, the defaut was POSIX and $LANG empty. So it&#039;s now solved, but i did not fully understand the exact problem



Dominique

</description> 
   <pubDate>Wed, 25 Jun 2008 13:51:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t46802</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I can confirm that using PHP versions prior to 5.2.4 may </title> 
   <description>&gt;&gt; I can confirm that using PHP versions prior to 5.2.4 may not handle

&gt;&gt; 8-bit characters correctly in json in certain situations.  Made a

&gt;&gt; note in dimp/docs/INSTALL of this.  Since this is a PHP issue,

&gt;&gt; closing the bug.

&gt;

&gt; I just reinstalled groupware webmail edition 1.1 and got the same 

&gt; behaviour. So, I followed your statement and installed a very 

&gt; uptodate php version. I was able to see the beginning of a subject or 

&gt; a mail till I reach a non ascii char. What was strange, when I dble 

&gt; click, I was able to see the mail..

&gt; Finaly we discovered that it was a problem of locales installation. 

&gt; On that test machine, the defaut was POSIX and $LANG empty. So it&#039;s 

&gt; now solved, but i did not fully understand the exact problem



So I guess you experienced exactly what I described in the comment #13





</description> 
   <pubDate>Thu, 26 Jun 2008 22:14:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t46908</link> 
  </item> 
   
  <item> 
   <title>Also noteworthy - if you are on Gentoo both the nls and unic</title> 
   <description>Also noteworthy - if you are on Gentoo both the nls and unicode USE flags are required for PHP as otherwise 8-bit characters aren&#039;t rendered correctly.</description> 
   <pubDate>Sat, 28 Jun 2008 05:50:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t46954</link> 
  </item> 
   
  <item> 
   <title>&gt; This happened to me in the past too.

&gt;

&gt; Basically, on t</title> 
   <description>&gt; This happened to me in the past too.

&gt;

&gt; Basically, on the viewport, if a subject had a non-ascii char, the 

&gt; subject line would be cut off there. I wouldn&#039;t also see the preview 

&gt; for that message. If I opened the message in a new window, I could 

&gt; see the message perfectly.

&gt;

&gt; The problem was a locale problem. Don&#039;t ask why, but set the all 

&gt; relevant charsets in your /etc/locale-gen file and run &quot;locale-gen&quot;.

&gt;

&gt; In my case,

&gt; # cat /etc/locale.gen

&gt; en_GB ISO-8859-1

&gt; en_GB.ISO-8859-15 ISO-8859-15

&gt; en_GB.UTF-8 UTF-8

&gt; en_US ISO-8859-1

&gt; en_US.ISO-8859-15 ISO-8859-15

&gt; en_US.UTF-8 UTF-8

&gt; pt_PT ISO-8859-1

&gt; pt_PT.UTF-8 UTF-8

&gt; pt_PT.UTF-8@euro UTF-8

&gt; pt_PT@euro ISO-8859-15

&gt;

&gt; # locale-gen

&gt; Generating locales (this might take a while)...

&gt;   en_GB.ISO-8859-1... done

&gt;   en_GB.ISO-8859-15... done

&gt;   en_GB.UTF-8... done

&gt;   en_US.ISO-8859-1... done

&gt;   en_US.ISO-8859-15... done

&gt;   en_US.UTF-8... done

&gt;   pt_PT.ISO-8859-1... done

&gt;   pt_PT.UTF-8... done

&gt;   pt_PT.UTF-8@euro... done

&gt;   pt_PT.ISO-8859-15@euro... done

&gt;

&gt; Hope it helps.

&gt;

&gt;

&gt;



YES! that solved it for me, thx!</description> 
   <pubDate>Wed, 07 Jan 2009 15:14:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t51581</link> 
  </item> 
   
  <item> 
   <title>I&#039;m still having problems: PHP is version 5.2.8 (Slackware 1</title> 
   <description>I&#039;m still having problems: PHP is version 5.2.8 (Slackware 12.1 package), Horde version 3.3.2 and DIMP version 1.1.1.

If the accented &quot;è&quot; letter is in the mail body, preview doesn&#039;t work at all (subject is ok, but there is no accented letter in it). Anyway, this don&#039;t happens with every mail in with accented letters, but I&#039;ve one of them that NEVER shows in the preview and neither to any user I forward the mail to.

Note that before upgrading PHP, with version 5.2.6, I was able to read the mail body from start to just before the accented letter (so the mail was truncated).

I&#039;ve no local-gen in Slackware but my locales are installed (i&#039;m in Italy, so it_IT).</description> 
   <pubDate>Tue, 20 Jan 2009 15:37:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t51872</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;m still having problems: PHP is version 5.2.8 (Slackware</title> 
   <description>&gt; I&#039;m still having problems: PHP is version 5.2.8 (Slackware 12.1 

&gt; package), Horde version 3.3.2 and DIMP version 1.1.1.

&gt; If the accented &quot;è&quot; letter is in the mail body, preview doesn&#039;t work at all (subject is ok, but there is no accented letter in it). Anyway, this don&#039;t happens with every mail in with accented letters, but I&#039;ve one of them that NEVER shows in the preview and neither to any user I forward the mail to.

&gt; Note that before upgrading PHP, with version 5.2.6, I was able to 

&gt; read the mail body from start to just before the accented letter (so 

&gt; the mail was truncated).

&gt; I&#039;ve no local-gen in Slackware but my locales are installed (i&#039;m in 

&gt; Italy, so it_IT).



I add the same problem before I installed properly my locale. If you want to read german, french, spanish, you have to install the locale for those languages. I didn&#039;t know there were e accute/grave in italian..

I don&#039;t know what to say after, but it was looking like your problem



Dom</description> 
   <pubDate>Tue, 20 Jan 2009 16:02:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5955#t51873</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
