Re: [PHP-I18N] MBStrings question for in PEAR::Mail_Mime

[email protected] (Moriyoshi Koizumi)
Newsgroups php.i18n
Message-ID <[email protected]>
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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.