7

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".

Angu
  • 862
  • 2
  • 13
  • 32

2 Answers2

5

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

user786
  • 3,902
  • 4
  • 40
  • 72
2

The correct encoding needs to be ensured across all stages of development and deployment including:

  1. text editor or IDE (check what the default encoding is)
  2. source control (check the right encoding is stored)
  3. server (check the checkout has the right encoding on filesystem)
  4. web server (check the web server is serving using the right encoding)
bjfletcher
  • 11,168
  • 4
  • 52
  • 67