Hi, I just installed the latest egroupware on my suse linux box. Below is my system information:
CPU: AMD X86_64
OS: Open suse 10.2 (64 bit)
Egroupware: 1.2.106-2
Web server: Apache 2.2.4
PHP: 5.2.1
DB: Mysql 5.0.37
I didn’t use apache and php coming from Suse. I built and installed from the source. It took me a while to figure out how to make php 5.2.1 works with IMAP2006h, since IMAP2006h changes some function’s signature. Anyway, I made it work on my system. There is no warning during the installnation (except oracle support, which I don’t need it anyway).
But after I started to use it, I found out one problem is very important for me. I am from China, a lot of my contacts are in Chinese characters. I input some as firstname and lastname in my address book. But in the address book landing page, or the overall page, it can NOT show the Chinese characters correctly. But what bothers me is that during the INPUT page and address book detail page, all the chinese characters are shown correctly. For example, the character ‘刘’ shown fine in the address book detail page, but it shown as ‘刘’ in the last name field in the overall page. (I change from showing FULLNAME to FIRSTNAME + LASTNAME in the configuration).
I come to your demo page, login as “demo” user, do the same test in the demo system. The Chinese characters do show CORRECTLY on BOTH overall page and detail page. It looks like some of my setting maybe wrong, but I can’t find out where.
I download my database MYSQL binary from www.mysql.com directly as tar.gz file. Unzip them and start to use it. There is no configuration changes from the default release as MYSQL side. I think my php and mbstring setting maybe a problem. But I compile my php 5 as the docuemnt described in www.php.net for mbstring as following:
./configure --prefix=/apps/php5 --with-apxs2=/apps/apache2/bin/apxs --with-zlib–with-mysql=/apps/mysql/mysql-5.0.37 --with-openssl --with-gettext --with-gd=/apps/php5/gd --enable-mbstring --with-curl --with-imap=/usr/local/imap-2006h -with-imap-ssl
In my php.ini file, I set as this:
[mbstring]
;extension=php_mbstring.dll
mbstring.language = English
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = pass
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none;
mbstring.func_overload = 7
I commone out “extension=php_mbstring.dll” because running the cron job of egroupware will always complain that php_mbstring.dll can’t be found. And even I uncommon it and restart my apache, it didn’t help.
Can not show the correct Chinese characters in overall page is very painful for me. Does anyone here has the idea what setting can be wrong for me? I search this forum and didn’t find similiar question.
Thanks for your help.