<?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>Handling missing ENCODING parameter in iCal date</title> 
  <pubDate>Fri, 10 Apr 2026 12:26:08 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6539</link> 
  <atom:link rel="self" type="application/rss+xml" title="Handling missing ENCODING parameter in iCal date" href="https://bugs.horde.org/ticket/6539/rss" /> 
  <description>Handling missing ENCODING parameter in iCal date</description> 
 
   
   
  <item> 
   <title>iCalendar.php unfolds QUOTED-PRINTABLE encoded lines before </title> 
   <description>iCalendar.php unfolds QUOTED-PRINTABLE encoded lines before parsing them.



The parameter ENCODING=QUOTED-PRINTABLE is expected in these lines.



A blackberry with SyncJe delivers lines like this during a SyncML run:



N;QUOTED-PRINTABLE;CHARSET=UTF-8:Euro=E2=82=AC;Lars=E2=82=AC



ENCODING= is missing here. From the format specs I guess the client is broken.



But iCalendar.php seems to support such broken clients:



                if ((isset($params[&#039;ENCODING&#039;])

                     &amp;&amp; String::upper($params[&#039;ENCODING&#039;]) == &#039;QUOTED-PRINTABLE&#039;)

                    || isset($params[&#039;QUOTED-PRINTABLE&#039;])) {



                    $value = quoted_printable_decode($value);



isset($params[&#039;QUOTED-PRINTABLE&#039;]) allows to specify QUOTED-PRINTABLE as parameter without the leading ENCODING.



If iCalendar.php should support this then I&#039;d suggest to apply the attached patch to correct unfolding.</description> 
   <pubDate>Sat, 29 Mar 2008 10:01:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6539#t44232</link> 
  </item> 
   
  <item> 
   <title>Looks okay to me - Jan?</title> 
   <description>Looks okay to me - Jan?</description> 
   <pubDate>Sun, 30 Mar 2008 04:23:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6539#t44252</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks. This behavior is following the specs btw,</title> 
   <description>Committed, thanks. This behavior is following the specs btw, at least for vCard objects.</description> 
   <pubDate>Fri, 04 Apr 2008 16:33:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6539#t44413</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
