At 11:47 PM 5/29/2003, Scott A. Hughes wrote:

> Scott - I have the Japanese PC's now loading SM okay, by remarking out the
> AddDefaultCharset ISO-8859-1 command in httpd.conf.  Thanks for that
> suggestion.   Each Japanese user has changed their default language in SM
> Options to Japanese, as well.

Excellent. I am glad to hear that that solved your problem. (Good guess!)

> However, additional problems have arisen.  When attempting to view a
> message in the in-box, it gives the following error:
>
> Fatal Error: Call to undefined function mb_detect_encoding() in
> /var/www/html/squirrelmail-1.4.0/functions/mime.php in line 339
>
> And, when attempting to compose a new message, it gives the following
> error:
>
> Fatal Error: Call to undefined function mb_detect_encoding() in
> /var/www/html/squirrelmail-1.4.0/src/compose.php in line 1335
>
>
> Since these lines follow an if statement checking for iso-2022-jp, I
> suspect this is related to the previous problem with in changing the
> default character set, but I'm not sure.
>
> Any suggestions on what the problem/solution might be?

Yes. This is an easy one.

This is because the version of PHP you are using has not been built with
the options required for multibyte/Japanese compatibility.

> I have a Red Hat 9.0 system

Bingo!

You can download pre-configured binary rpms with the required options
included from my site (Masato Higashiyama and I provide these rpms as part
of our commercial support [which includes all sorts of good stuff] for
SquirrelMail):

http://ftp.sanguine.net/pub/sahughes/rhl/RPMS/9/

(Don't forget to restart httpd after updating to these rpms.)

> Thanks!
>
> Larry

My pleasure. Let me know how you go.

Thanks, again! I installed the modules, and tested them with my PC using Japanese (EUC) encoding, and it seemed to work. I'll test them tomorrow with the Japanese PC's and see what happens.


I seem to have broken php-accelerator (gives a "No shm_user is set and so no shm cache will be created" error when loading httpd), but I can probably live with that for a while until I have time to resolve the problem with it.


I noticed that you have a postfix-2.0.9-2_rh9.i386.rpm on your site -- is that compiled with any special functions/features? I'm presently running postfix-2.0.10-1.rh9, but it is a standard install.



Cheers,

Have a good day!


Larry


Scott.



------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to