LoginSignup
0
0

More than 5 years have passed since last update.

Shist_JISのPHPファイルが文字化けした際に解決したPHP関数

Last updated at Posted at 2018-12-11

php.iniの状態
default_charset = "Shift_JIS"

-

test.php
<?php
    mb_language("ja");
    mb_internal_encoding("SJIS");
    mb_http_input("SJIS");
    mb_http_output("SJIS");

?>
0
0
0

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
0
0