Search code examples
jqueryhtmlmeta

html5 meta charset-utf-8 not working


i am using this meta.

  <meta charset="UTF-8">
   <meta http-equiv="Content-type" content="text/html; charset=UTF-8">

i have used this text:

<p>Vignerons de père en fils depuis 1847 notre Maison se situe au cœur du vignoble champenois, à quelques kilomètres d’Epernay sur la commune de Moussy.</p>

show my text :

Vignerons de p�re en fils depuis 1847 notre Maison se situe au c�ur du vignoble champenois, � quelques kilom�tres d�Epernay sur la commune de Moussy.

not working charset="UTF-8".


Solution

  • It happens. It happened to me as well. what you should do is:1) open your file in notepad(.aspx or php or or html or whatever.) And save it, and specify UTF-8 from save-file-dialog-box. Problem will be solved