Hi Ralf,
if we create for example the short 3-char abbreviation for the German
month März, with substr(“März”,0,3) you will get “Mä” instead of “Mär”,
if func_overload == 0.
Ralf
Ralf K. schrieb:
I have installed eGroupWare using the openSUSE RPMs and almost everything
seems to be fine (Apache 2.2.4, PHP 5.2.5, UTF-8).
But there is one serious issue with mbstring setting “php_value
mbstring.func_overload 7”, which I have setup in my apache configuration for
the /usr/share/egroupware/ directory (it was the default config coming
within the RPM package).
With “php_value mbstring.func_overload 7” my Wordpress and Mediawiki
instances - running in the same virtual host - do not work anymore. I get
really strange errors and the pages can’t be loaded any more or are even
corrupt. From the http://us3.php.net/mbstring PHP Manual you can learn,
that the parameter mbstring.func_overload is not recommended in the
directory context due to uncertain behaviour:
Note: It is not recommended to use the function overloading option in the
per-directory context, because it’s not confirmed yet to be stable enough in
a production environment and may lead to undefined behaviour.
After setting “php_value mbstring.func_overload 0” (or by removing the line
from the apache config) Wordpress and Mediawiki work fine again. And I could
not see a problem with eGroupWare, e.g. sending Emails with UTF-8 chars is
still working.
My questions / comments:
- “php_value mbstring.func_overload 7” should not be set in the
context. I only see the option to setup a new virtual host for eGroupWare,
but that means to configure a new name in DNS or to use another TCP port.
Any other ideas ?
- What exactly does “php_value mbstring.func_overload 7” in eGroupWare ? Is
it really needed ? For what modules exactly ?
–
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users