Re: [Dovecot] Problem with sieve and german umlauts

2009-07-08 Thread Robert Schetterer
Timo Sirainen schrieb:
 On Mon, 2009-06-29 at 11:04 +0200, M. Bobkiewicz wrote:
 Dear list,
 I?m running a postfix (2.5.6) / Dovecot (1.1.11) on a Centos 5.2 box. 
 I?ve written a small gui application to simply create Out of Office 
 replys with sieve. The resulting code did work with maildrop without any 
 problems. Now sieve fails when it meets any german umlauts like ä or ü. 
 It just stops compiling the scripts and complains about the missing 
 };. A simple fix is to just replace the umlauts, but that doesn?t meet 
 the expectations of my users. Is there any escape code I could use or 
 any way to place the mail text outside the script?
 
 Are you giving the characters in UTF-8? I think it should work fine. You
 could also try with the new Dovecot v1.2 Sieve plugin and its tools
 (e.g. sievec or sieve-test), even if you don't end up using them in
 prodution. It might give a better error message.
 

using horde ingo on hardy debian with 1.2 sieve
vacation has no problems with german umlauts
using

locale
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Problem with sieve and german umlauts

2009-07-07 Thread Timo Sirainen
On Mon, 2009-06-29 at 11:04 +0200, M. Bobkiewicz wrote:
 Dear list,
 I?m running a postfix (2.5.6) / Dovecot (1.1.11) on a Centos 5.2 box. 
 I?ve written a small gui application to simply create Out of Office 
 replys with sieve. The resulting code did work with maildrop without any 
 problems. Now sieve fails when it meets any german umlauts like ä or ü. 
 It just stops compiling the scripts and complains about the missing 
 };. A simple fix is to just replace the umlauts, but that doesn?t meet 
 the expectations of my users. Is there any escape code I could use or 
 any way to place the mail text outside the script?

Are you giving the characters in UTF-8? I think it should work fine. You
could also try with the new Dovecot v1.2 Sieve plugin and its tools
(e.g. sievec or sieve-test), even if you don't end up using them in
prodution. It might give a better error message.



signature.asc
Description: This is a digitally signed message part


[Dovecot] Problem with sieve and german umlauts

2009-06-29 Thread M. Bobkiewicz

Dear list,
I?m running a postfix (2.5.6) / Dovecot (1.1.11) on a Centos 5.2 box. 
I?ve written a small gui application to simply create Out of Office 
replys with sieve. The resulting code did work with maildrop without any 
problems. Now sieve fails when it meets any german umlauts like ä or ü. 
It just stops compiling the scripts and complains about the missing 
};. A simple fix is to just replace the umlauts, but that doesn?t meet 
the expectations of my users. Is there any escape code I could use or 
any way to place the mail text outside the script?


Best regards,

 Mike