<?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>Tickets created by email are not correctly encoded</title> 
  <pubDate>Fri, 10 Apr 2026 10:04:37 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7730</link> 
  <atom:link rel="self" type="application/rss+xml" title="Tickets created by email are not correctly encoded" href="https://bugs.horde.org/ticket/7730/rss" /> 
  <description>Tickets created by email are not correctly encoded</description> 
 
   
   
  <item> 
   <title>Whups_Mail::processMail() is getting the mail body for comme</title> 
   <description>Whups_Mail::processMail() is getting the mail body for comments by _buildComment(). This function doesn&#039;t seem to care about mail encoding - replacing

&gt; $comment .= $part-&gt;transferDecode();

with

&gt; $comment .= String::convertCharset($part-&gt;transferDecode(), $part-&gt;getCharset());

in Whups_Mail::_buildComment() fixes this for me. My system seems to be correctly configured, one reason for the fact that it works on other systems may be that today still most (European) systems out there are running their cron jobs as ISO8859 - and most mails have this very same encoding.



Best regards,

Thomas Gelf



NB: Sorry for not attaching a unified diff for this one-line fix - I still need to clean up my code, remove debugging output etc...</description> 
   <pubDate>Thu, 27 Nov 2008 17:24:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7730#t50979</link> 
  </item> 
   
  <item> 
   <title>One additional note, there is this line of code in mail-filt</title> 
   <description>One additional note, there is this line of code in mail-filter.php:



// Set charset to UTF-8 for most flexible conversion between email charset

// and backend charset.

NLS::setCharsetEnvironment(&#039;UTF-8&#039;);



So my guess regarding other systems may be wrong. This is also the reason

why setting LC_ALL to different encodings had no impact in my tests.</description> 
   <pubDate>Thu, 27 Nov 2008 17:48:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7730#t50982</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/whups/docs/CHANGES?rt=horde&amp;r1=1.218.2.11&amp;r2=1.218.2.12&amp;ty=u
http://cvs.horde.org/diff.php/whups/lib/Mail.php?rt=horde&amp;r1=1.46.2.1&amp;r2=1.46.2.2&amp;ty=u</description> 
   <pubDate>Mon, 16 Mar 2009 11:52:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7730#t53116</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks.</title> 
   <description>Committed, thanks.</description> 
   <pubDate>Mon, 16 Mar 2009 11:52:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7730#t53117</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
