4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

xampp文字化け対策

Posted at

.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はいじらず。
これで解決しました。

4
4
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?