Taking this to the list.

AntonZ wrote:

> g_mime_utils_header_encode_text always return not encode header.

The header in your message is *not* utf8. At least as far as glib can
tell. It's something, but a string with unknown encoding is gibberish.

> mysql on insert truncate string to first unrecognized simbol(in utf8
> representation).

Garbage-in, garbage-out. So don't use charset=utf8. I suspect that using
us-ascii or latin-1 on your tables would also solve your problem.

> I solve problem by convert envelope field from text to blob type.
> Problem is keep in headervalue,subjectfield,fromfield,tofield,ccfield. 

That is *not* valid. I don't see an immediate problem with the envelope
field, but all the other you mention are used for searching and sorting.

Converting those fields to blob (for mysql) or bytea (for postgresql)
will make effecient searching and sorting on those fields near impossible.


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to