On Tue, Mar 9, 2010 at 5:12 PM, David C. Rankin <drankina...@suddenlinkmail.com> wrote: > Paul, > > I don't know if this has been discussed before or if I'm the first one > to be > dumb enough to do it, but setting mbstring.func_overload = 7 in php.ini causes > LOTS of notice messages from Template.class.php and general_util.php. (See > below) > > The mbstring.func_overload = 7 is required by several apps > (eGroupWare, etc..) > for true UTF-8 compatibility, or so they say.
Only because they are lazy. > I haven't found a way around it yet. For some reason squirrelmail is getting > "(null)" > encoding with the mbstring value at 7. I've dropped back to 0 for now. Make sure to access src/configtest.php when you have any problems. As it says, you should have it set to 0 for SquirrelMail so when it uses string functions it can reliably know exactly what functions it is using. Even the PHP manual recommends setting mbstring.func_overload on a per-directory basis ( http://php.net/manual/mbstring.overload.php ), which is exactly what you should do. Cheers, Paul > This is will squirrelmail 1.5-svn with the latest updates applied. Let > me know > if I can send something else. Keep up the great work! > > > SquirrelMail notice messages > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/class/template/Template.class.php > LINE: 1310 > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/class/template/Template.class.php > LINE: 1310 > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/class/template/Template.class.php > LINE: 1310 > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 39 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 41 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 45 > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 39 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 41 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 45 > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 39 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 41 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 45 > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 39 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 41 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 45 > Category: PHP > Message: mb_strtolower() [http://www.php.net/function.mb-strtolower]: > Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 39 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 41 > Category: PHP > Message: mb_stristr() [http://www.php.net/function.mb-stristr]: Unknown > encoding "(null)" > FILE: /srv/http/htdocs/squirrelmail/functions/template/general_util.php > LINE: 45 -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@lists.sourceforge.net List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users