LoginSignup
32
30

More than 5 years have passed since last update.

文字エンコーディング

Last updated at Posted at 2014-04-30
文字エンコーディング
// SJIS-winのチェック.
if (! mb_check_encoding($name, 'SJIS-win')) {
    // エラー.
}

// SJIS-win -> UTF-8の変換
$name = mb_convert_encoding($name, 'UTF-8', 'SJIS-win');
32
30
8

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
32
30