On Tue, May 29, 2007, Marc Dirix <[EMAIL PROTECTED]> said:

> 
>> Are these latin1 or utf8 from your terminal? There aren't any  
>> conversions
>> taking place in dbmail-sievecmd; it's basically a dumb tool for  
>> accessing
>> the dbmail_sievescripts table.
> 
> I did an dmail-sievecmd at the old database-server which is in  
> sql_ascii.
> 
> shouldn't dbmail-sievecmd not convert? Do you expect users who create  
> sievescripts to type in utf8?

Yes :-)

Also, file contents received via stdin should work fine. So if you have a
utf-8 impaired terminal, you could create the file in a utf-8 editor and
then pipe it into dbmail-sievecmd. There's yet another method which was
just added to the Sieve spec in the last draft for a unicode encoded
string, of the form ${unicode:hexhexhex hex hexhex ...} to accept 1-6 hex
byte character codes. I already wrote the code to handle this in libSieve,
but haven't had time to put together a release just yet.

> How does the dmail-timsieved handle this?

Data arrives in utf-8, otherwise it is not speaking ManageSieve correctly.

Aaron
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to