<?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>The &#039;utf8&#039; parameter usage in the sieve backend doesn&#039;t work as described.</title> 
  <pubDate>Fri, 10 Apr 2026 08:19:54 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/12937</link> 
  <atom:link rel="self" type="application/rss+xml" title="The &#039;utf8&#039; parameter usage in the sieve backend doesn&#039;t work as described." href="https://bugs.horde.org/ticket/12937/rss" /> 
  <description>The &#039;utf8&#039; parameter usage in the sieve backend doesn&#039;t work as described.</description> 
 
   
   
  <item> 
   <title>The &#039;utf8&#039; parameter, as described in the backends.php, shou</title> 
   <description>The &#039;utf8&#039; parameter, as described in the backends.php, should enable the UTF-8 encoding for folder names. The code that uses the parameter is found in lib/Script/Sieve/Action/Fileinto.php, and looks like

if (!empty($vars[&#039;utf8&#039;])) {
   $this-&gt;_vars[&#039;folder&#039;] = Horde_String::convertCharset($this-&gt;_vars[&#039;folder&#039;], &#039;UTF7-IMAP&#039;, &#039;UTF-8&#039;);
}

However, it seems that the folder name is already coded as UTF-8 when this code is reached, with the result that each non-ACSII character is turned into a sequence like &#039;??&#039;.

On the other hand, if the &#039;utf8&#039; parameter is false or not defined, UTF-8 characters in mailboxes work fine.&#039;

Thus, both the description and the code seems to come from a time when folder names were stored encoded as IMAP-UTF-7. Unless this can still be true, the parameter should be removed and the examples in backends.php should be updated.

Thanks
Arne Nordmark</description> 
   <pubDate>Sat, 25 Jan 2014 16:17:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12937#t82141</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (FRAMEWORK_5_1):

commit cecc0</title> 
   <description>Changes have been made in Git (FRAMEWORK_5_1):

commit cecc0d08813e2bdb2cf8562af27fcc3f7de01040
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Mon Feb 3 20:21:09 2014 +0100

    The mail/mailboxList returns UTF-8 encoded folder names now (Bug #12937).
    
    When did this change? This is clearly a BC break.

 ingo/lib/Script/Sieve/Action/Fileinto.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/cecc0d08813e2bdb2cf8562af27fcc3f7de01040</description> 
   <pubDate>Mon, 03 Feb 2014 19:25:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12937#t82238</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (FRAMEWORK_5_1):

commit b04e1</title> 
   <description>Changes have been made in Git (FRAMEWORK_5_1):

commit b04e1e1984f48daa9d16b30a425e0e0d5063b9d0
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Mon Feb 3 20:24:56 2014 +0100

    [jan] Fix behavior of &#039;utf&#039; parameter (Bug #12937).

 ingo/docs/CHANGES |    1 +
 ingo/package.xml  |    6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/b04e1e1984f48daa9d16b30a425e0e0d5063b9d0</description> 
   <pubDate>Mon, 03 Feb 2014 19:26:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12937#t82239</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 5b49c5c0b64c</title> 
   <description>Changes have been made in Git (master):

commit 5b49c5c0b64c87ded0410b01072b57fbbbfa8674
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Mon Feb 3 20:21:09 2014 +0100

    The mail/mailboxList returns UTF-8 encoded folder names now (Bug #12937).
    
    When did this change? This is clearly a BC break.

 ingo/lib/Script/Sieve/Action/Fileinto.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/5b49c5c0b64c87ded0410b01072b57fbbbfa8674</description> 
   <pubDate>Mon, 03 Feb 2014 19:27:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12937#t82240</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit d191add981f8</title> 
   <description>Changes have been made in Git (master):

commit d191add981f82f5f866865fab15463d25a0e1f9f
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Mon Feb 3 20:24:56 2014 +0100

    [jan] Fix behavior of &#039;utf&#039; parameter (Bug #12937).
    
    Conflicts:
    	ingo/docs/CHANGES
    	ingo/package.xml

 ingo/docs/CHANGES |    5 +++--
 ingo/package.xml  |    3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/d191add981f82f5f866865fab15463d25a0e1f9f</description> 
   <pubDate>Mon, 03 Feb 2014 19:28:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12937#t82241</link> 
  </item> 
   
  <item> 
   <title>For reference:

http://lists.horde.org/archives/dev/Week-o</title> 
   <description>For reference:

http://lists.horde.org/archives/dev/Week-of-Mon-20140203/028488.html

This was NOT a BC break... this was a bug in Ingo 3 not being updated to IMP&#039;s new 6.x API.</description> 
   <pubDate>Wed, 02 Jul 2014 21:18:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12937#t84432</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
