[fw-general] Zend Mail encoding

2009-04-09 Thread debussy007
Hi, What is the difference between: Zend_Mail setEncodingOfHeaders (string $encoding) Zend_Mail setHeaderEncoding (string $encoding) Both methods are defined in the Zend_Mail class. And what should the string be ? utf8 / utf-8 / UTF8 / UTF-8 / ... And finally third and last question,

Re: [fw-general] Zend Mail encoding

2009-04-09 Thread Benjamin Eberlei
there is no difference. they both do the same, the first method setEncodingOfHeaders is marked @deprecated. It sadly got into a 1.7 release, but is not following the consistent naming schema of ZF. It will be removed in 2.0. So you should really just only use setHeaderEncoding(). On Thursday

Re: [fw-general] Zend Mail encoding

2009-04-09 Thread Thomas VEQUAUD
It's utf-8 and that works on Outlook 2003, 2007 and Thunderbird. I didn't test on other clients. On Thu, Apr 9, 2009 at 12:51 PM, debussy007 debussy...@gmail.com wrote: Hi, What is the difference between: Zend_Mail setEncodingOfHeaders (string $encoding) Zend_Mail setHeaderEncoding