Hi, It'd not be a good idea to use mb_encode_mimeheader() as it is not quite handy when it comes to non-CJK encoding. Instead, you can write a more standard-compliant alternative with mb_substr() / base64_encode(), or possibly iconv_mime_encode() that provides far better functionality, available since php 5.0.
Regards, Moriyoshi Cipriano Groenendal wrote: > Hello all, > > My name is Cipriano Groenendal, and I'm the maintainer for > pear.php.net's Mail_Mime package. I'm trying to make the mails > generated by this package compatible with non ISO-8869-1 charsets, but > I ran into a small problem. > The current code I'm using is not multi-bytecompatible, so I was > wanting to use the mb_encode_mimeheader function to do this for me > instead. > However, upon reading the documentation, I noticed a lot of people had > posted comments about the buggyness and instability of this function, > so I was wondering if anyone could shed some light on this, and maybe > know up to which version what bugs were there, so I can work around > those and provide everyone with a good working version of Mail_Mime > that can send in more then just singlebyte charsets :) > > Thanks in advance, > Cipri > -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php