[Tickets #2121] NEW: national characters absolutely bad with cyrus sieve

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Jun 10 15:17:31 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2121
-----------------------------------------------------------------------
 Ticket             | 2121
 Created By         | risko at risko.hu
 Summary            | national characters absolutely bad with cyrus sieve
 Queue              | Ingo
 Version            | 1.0.1
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
+New Attachment     | ingo-utf8-cyrus-sieve.patch
-----------------------------------------------------------------------


risko at risko.hu (2005-06-10 15:17) wrote:

1. If the browser charset is not utf-8, than characters with accents don'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="utf-8" (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't do this themselves.
Affected input fields: subject, from. (my patch only fix the problem on the
subject field).




More information about the bugs mailing list