Help us understand the problem. What is going on with this article?

xampp文字化け対策

More than 5 years have passed since last update.

.phpに
mb_internal_encoding("utf-8");
mysql_query("SET NAMES utf8",$db);

php.ini
260行あたり
output_buffering = 4096
810行あたり
default_charset = "UTF-8"
1870行あたり
;mbstring.http_input = auto
;mbstring.http_output = SJIS
1890行あたり
;mbstring.detect_order =auto
;mbstring.substitute_character = none
と変更
mysql.iniはいじらず。
これで解決しました。

asdfjjp@github
来年SEに就職する学生です。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away