php-general Digest 21 Nov 2012 10:30:23 -0000 Issue 8049

2012-11-21 Thread php-general-digest-help
php-general Digest 21 Nov 2012 10:30:23 - Issue 8049 Topics (messages 319745 through 319750): Re: globbed includes? 319745 by: Shawn McKenzie Encode e-mail text in UTF-8 319746 by: MC 319748 by: Inigo Medina 319750 by: MC Re: Date comparison going wrong,

Re: [PHP] Encode e-mail text in UTF-8

2012-11-21 Thread MC
what is the recommended way to encode e-mail text in UTF-8? When the site were running in a single byte code page like iso-8859-2 I were happy with the imap_8bit function and quoted-printable encoding of e-mails. However, the function does not seem to work correctly for multi-byte code pages

Re: [PHP] Encode e-mail text in UTF-8

2012-11-21 Thread MC
Hi, I have finally found the root issue. Basically, the issue does not lie in imap methods, rather it lies in PHP core. PHP is not consistent in naming variables inside the $_SERVER array. While running under Apache, it creates $_SERVER['WINDIR'], while running directly from command line it

Re: [PHP] Switch - Case Statement Questions

2012-11-21 Thread Tedd Sperling
On Nov 19, 2012, at 2:46 PM, Stuart Dallas stu...@3ft9.com wrote: On 19 Nov 2012, at 19:35, Tim Streater t...@clothears.org.uk wrote: On 18 Nov 2012 at 14:44, Jim Giner jim.gi...@albanyhandball.com wrote: Just so. Perhaps those who are not grasping the point could re-read their copy of