Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- Date: Thu, 31 Mar 2005 19:10:17 +0900
- From: Robert Fisher <robert@example.com>
- Subject: Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- References: <424B82CA.8050302@example.com> <20050331.154601.778328271.dave@?om> <424BA00A.4020902@example.com> <20050331.184847.670289635.dave@example.com>
- User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
David E wrote: >From: Robert Fisher <robert@example.com> >Subject: Re: [tlug] Redhat Enterprise and PHPs MBSTRING >Date: Thu, 31 Mar 2005 16:00:26 +0900 > > > >>David E wrote: >> >> >> >>>From: Robert Fisher <robert@example.com> >>> >>> >>> >>>>I am installing a system and for some reason we are having a problem >>>>with encoding of japanese text to be sent out in emails. The emails >>>>either come in "mojibake" or cutoff. >>>> >>>> >>>> >>>Have you checked the mb-related settings in the two php.ini files, and/or >>>compared the output of phpinfo() on the 2 systems? >>> >>> >>> >>Thanks for your response, yeah was the very first thing we did. >> >>Would the Locale of the server have any effect? on both servers the >>locale is english utf8. >> >> > >I'd still be inclined to look for some difference between the two >systems in one of: the php code, php installation settings, php.ini settings. > >As in Alessandro's example, is mb_language set to "ja" in both? Are >both using mb_send_mail rather than send_mail? That sort of thing. > >I doubt that the locale setting matters (esp. since it's the same on >both systems) > >-dave > > > > As for the PHP, it has been compiled the same on numerous servers exactly the same way using the same versions. With PHP, in the compile stage, we used --enable-mbstring=all and --enable-mbstr-enc-trans (even though it is truncated in the version we use). the mbstring sections in the php.ini file are exactly the same. Are there any requirements for mbstring? libraries or the such? They might be slightly different since I didn't install any system level libraries other than those included on the OS CD. mb_language is set to "ja" on both servers. and both servers are using mb_send_mail. I am actually trying to figure out why it is so different between the two servers. We did however come up with a solution. On the red hat 9 server, we converted the body of the email to ISO-2022-JP and the subject line was in EUC format before passing it through mb_send_mail. On the enterprise server, the solutions was to send the subject and body into mb_send_mail as EUC formatted. I understand that mb_send_mail will convert the text to ISO-2022-JP format. Thanks for any hints, advice, solutions, etc. in advance Regards, Robert Fisher
- Follow-Ups:
- Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- From: David E
- References:
- [tlug] Redhat Enterprise and PHPs MBSTRING
- From: Robert Fisher
- Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- From: David E
- Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- From: Robert Fisher
- Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- From: David E
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- Next by Date: Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- Previous by thread: Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- Next by thread: Re: [tlug] Redhat Enterprise and PHPs MBSTRING
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links