LoginSignup
0
0

More than 5 years have passed since last update.

ブラウザのコンソールへ文字エンコードについての警告が表示されたときの対処

Posted at

警告

HTML ドキュメントの文字エンコーディングが宣言されていません。
ドキュメントに US ASCII 外の文字が含まれている場合、ブラウザーの設定によっては文字化けすることがあります。
ページの文字エンコーディングはドキュメント中または転送プロトコルで宣言されなければなりません。

対処
HTMLのhead部にて文字コードを指定する。

<meta charset="utf-8"/>

参考
W3C
https://www.w3.org/International/questions/qa-html-encoding-declarations.ja

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