差分
このページの2つのバージョン間の差分を表示します。
| 次のリビジョン | 前のリビジョン |
| web:phpbb [2007/02/27] – 作成 administrator | web:phpbb [不明な日付] (現在) – 外部編集 (不明な日付) 127.0.0.1 |
|---|
| | ====== phpBBの改造 ====== |
| | |
| | ===== メールの文字化けを直す ===== |
| | - language/lang_japanese/mail/内のファイルの文字コードを表示させたい文字コードにする |
| | - language/lang_japanese/lang_main.phpを修正<code php>$lang['ENCODING'] = 'UTF-8'; |
| | $lang['MAIL_ENCODING'] = "iso-2022-jp";</code> |
| | - includes/emailer.phpを修正 (1)<code php>$result = @mail($to, $this->subject, preg_replace…</code>という行の前に<code php>$this->msg = mb_convert_encoding($this->msg,'JIS','UTF-8'); |
| | $this->subject = mb_convert_encoding($this->subject,'JIS','UTF-8'); |
| | $this->subject = mb_encode_mimeheader($this->subject,'ISO-2022-JP');</code>を挿入 |
| | - includes/emailer.phpを修正 (2)<code php>$lang['ENCODING']</code>となっている部分を<code php>$lang['MAIL_ENCODING']</code>に置換する |
| |