imap and character enconding

That's the way non-ASCII headers are supposed to be encoded. You need to read:

http://www.ietf.org/rfc/rfc2047.txt

Cheers,

Pete Yandell