[Dovecot] Sieve vacation with russian subject

Stephan Bosch stephan at rename-it.nl
Wed Oct 28 13:32:48 EET 2009


Timo Sirainen wrote:
> On Fri, 2009-10-16 at 11:48 +0400, Proskurin Kirill wrote:
> 
>> Is this problem still not fixed in new sieve implementation?
> 
> I just implemented message header encoder:
> http://hg.dovecot.org/dovecot-1.2/rev/bd4a6f500c75
> 
> So only thing left to do is for Stephan to start using it. :)

Done:

http://hg.rename-it.nl/dovecot-1.2-sieve/rev/b05a7a7a42a1

But:

"

$ src/testsuite/testsuite tests/extensions/vacation/utf-8.svtest
Test case: tests/extensions/vacation/utf-8.svtest:

  1: Test 'UTF-8 Subject' FAILED: subject header is not encoded/decoded 
properly:
expected: Auto: Я могу есть стекло, оно мне не вредит.
decoded: Auto: Я мог�? е�?�?�? �?�?екло, оно мне не в�?еди�?.

FAIL: 1 of 1 tests failed.

"

So, something is not yet quite ok in the encoding/decoding process. The 
encoded header looks as follows:

Subject: Auto:
  =?utf-8?b?0K8g0LzQvtCz0T8g0LXRP9E/0T8g0T/RP9C10LrQu9C+LCDQvtC90L4=?=
	=?utf-8?b?INC80L3QtSDQvdC1INCy0T/QtdC00LjRPy4=?=

Timo, just check the utf-8.svtest file to get an idea of what exactly is 
tested.

Regards,

Stephan


More information about the dovecot mailing list