Hello

> Oleg please try rev 2348
>
> I've reverted the utf7 encoding on subject in envelope. Apparently it
> wan't encoded right anyway.
>
> I've also pushed the utf8 encoding to the postgres driver, so it won't
> affect mysql/sqlite users.

I try revision 2350 with my "test message"
and what I get:

Debug:[sql] dbmysql.c,db_query(+272): query [SELECT id FROM dbmail_headername 
WHERE headername='Subject']
Debug:[sql] dbmysql.c,db_query(+272): query [INSERT INTO dbmail_headervalue 
(headername_id, physmessage_id, headervalue) VALUES 
(6,35555,'ц░ц▓ц▐ц≈ц┘ц▓ц▀ц│ koi8-r ц■ц┘ц▀ц⌠ц■ц│')]


Debug:[sql] dbmysql.c,db_query(+272): query [INSERT INTO dbmail_envelope 
(physmessage_id, envelope) VALUES (35555,'(\"Thu, 01 Jan 1970 00:00:00 
+0000\" {22}\r\nпроверка koi8-r текста ((NIL NIL \"test\" \"test\")) ((NIL 
NIL \"test\" \"test\")) ((NIL NIL \"test\" \"test\")) ((NIL NIL \"test.test\" 
NIL)) NIL NIL NIL \"<1162542504l.15096l.0l@(none)>\")')]

So, koi8-r text is inserted into dbmail_headervalue with convertion to utf
and to dbmail_envelope "as-is"
Is this as expected?


-- 
Oleg Lapshin

Reply via email to