<?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>national characters absolutely bad with cyrus sieve</title> 
  <pubDate>Thu, 09 Apr 2026 22:37:18 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2121</link> 
  <atom:link rel="self" type="application/rss+xml" title="national characters absolutely bad with cyrus sieve" href="https://bugs.horde.org/ticket/2121/rss" /> 
  <description>national characters absolutely bad with cyrus sieve</description> 
 
   
   
  <item> 
   <title>1. If the browser charset is not utf-8, than characters with</title> 
   <description>1. If the browser charset is not utf-8, than characters with accents don&#039;t get into cyrus sieve, since the specification says, that they must be UTF-8 encoded in sieve scripts.

Proposal:

 - send the form with accept-charset=&quot;utf-8&quot; (my solution do this)

OR

 - encode the returned information from NLS::getCharset() to utf-8

Affected input fields: subject, body.



2. If the header contains accents, it is not enough to encode it to utf-8, but we have

to mime encode it, because of buggy mail servers (like Cyrus Sieve), which doesn&#039;t do this themselves.

Affected input fields: subject, from. (my patch only fix the problem on the subject field).</description> 
   <pubDate>Fri, 10 Jun 2005 22:17:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9076</link> 
  </item> 
   
  <item> 
   <title>Please create a patch that uses Horde&#039;s conversion and encod</title> 
   <description>Please create a patch that uses Horde&#039;s conversion and encoding methods like MIME::encode() and String::convertCharset().</description> 
   <pubDate>Mon, 13 Jun 2005 09:29:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9112</link> 
  </item> 
   
  <item> 
   <title>Looks like we have to fix this ourselves.</title> 
   <description>Looks like we have to fix this ourselves.</description> 
   <pubDate>Mon, 11 Jul 2005 10:21:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9641</link> 
  </item> 
   
  <item> 
   <title>&gt; Looks like we have to fix this ourselves.



Please note, </title> 
   <description>&gt; Looks like we have to fix this ourselves.



Please note, that I haven&#039;t ever received the message, which asks for clarifications about the patch.  I only received an email notification about the last comment an hour ago.



If everything goes well, I can provide a clear patch, with horde functions and with a configurable workaround for buggy sieve implementation at the weekend.  I will also try to notify the cyrus developers again, but my previous news article was lost by gmane...



Gergely

</description> 
   <pubDate>Mon, 11 Jul 2005 21:02:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9660</link> 
  </item> 
   
  <item> 
   <title>How&#039;s this going?</title> 
   <description>How&#039;s this going?</description> 
   <pubDate>Fri, 22 Jul 2005 17:33:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9954</link> 
  </item> 
   
  <item> 
   <title>&gt; How&#039;s this going?



Sorry for being late.



In return, t</title> 
   <description>&gt; How&#039;s this going?



Sorry for being late.



In return, the fix is a lot more elegant now (to be precise: now it is correct ;) ).

And it also fixes another issue, ingo serialized accented vacation data wrong if database environment was iso-8859-2, while user environment was utf-8 (for the string length it substituted the length of the utf-8 string, but it wrote iso-8859-2 string as the string).  Fortunately, the same problem did at decoding, so it only bugged the user if he (after saving a vacation string) changed the browser charset from utf-8 to iso-8859-2.



If something is not clear, ask!



Thanks for your patience,

Gergely</description> 
   <pubDate>Sun, 24 Jul 2005 00:47:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9972</link> 
  </item> 
   
  <item> 
   <title>Great work! Tweaked and committed, thanks.</title> 
   <description>Great work! Tweaked and committed, thanks.</description> 
   <pubDate>Sun, 24 Jul 2005 13:39:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9975</link> 
  </item> 
   
  <item> 
   <title>&gt; Great work! Tweaked and committed, thanks.



Isn&#039;t that a</title> 
   <description>&gt; Great work! Tweaked and committed, thanks.



Isn&#039;t that a problem, that Horde/String.php never require_once&#039;d in the whole file, but used String::convertChraset in http://cvs.horde.org/co.php/ingo/lib/Script/sieve.php?r=1.79 ??



Thanks,

Gergely

</description> 
   <pubDate>Sun, 24 Jul 2005 22:25:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9981</link> 
  </item> 
   
  <item> 
   <title>&gt; Isn&#039;t that a problem, that Horde/String.php never require_</title> 
   <description>&gt; Isn&#039;t that a problem, that Horde/String.php never require_once&#039;d in 



No it isn&#039;t, I know now :)



Anyway, now I read your coding_standards document (better lately, than never) and I found, that I should use include_once, so I fix this in this patch.



A bigger fix is utf8&#039;ized comments, since it is very annoying if you can&#039;t pipe the generated output to a &#039;recode UTF-8..ISO-8859-2&#039; as a system administrator because of ISO-8859-2 comments (which are invalid UTF-8 characters).



Anyway, I think, that it is not a good idea to have localized comments in a generated config file.  System administrators know english well enough and if someone is doing some shell magic based on english comments it can be a bg surprise that he has got non-english users with localized chinese autocommented sieve data... :)



So _() should be removed from around comment strings which will go to sieve scripts, I think.



Thanks,

Gergely</description> 
   <pubDate>Mon, 25 Jul 2005 00:02:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9982</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks.



The translated comments are rather for</title> 
   <description>Committed, thanks.



The translated comments are rather for the end users than the administrators.</description> 
   <pubDate>Mon, 25 Jul 2005 08:13:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2121#t9992</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
