0

I am having some issues charset and special chars in this page : http://goo.gl/UGgxWt i have added in my header section charset code :

<html lang="fr">
<meta charset="UTF-8">

i tried to add in the body section

header('Content-Type: text/html; charset=utf-8');

nothing changed still the same problem , i went to htaccess file i added

AddDefaultCharset UTF-8

but it didn't solved this issue can you help with a solution to that situation

Guns_Roses
  • 165
  • 2
  • 11
  • You can say "I'm speaking french" as much as you want, but if you say it in english, then you're actually speaking english. If you know what I mean... and I mean that if your file is actually in (say) iso-8859-1, and your server is sending iso-8859-1 files, it doesn't matter what your header says: you're actually sending iso-8859-1 files. – Amarnasan Sep 21 '15 at 10:27

3 Answers3

1

It seems your html output has not any problem. Save your file in "utf-8 without BOM" encoding.

Vahid Moradi
  • 791
  • 7
  • 16
1

add this as well

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-8">
Abdulla Nilam
  • 36,589
  • 17
  • 64
  • 85
0

try adding below meta tag, also make sure your .html file is in utf-8

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

Amey Jadiye
  • 3,066
  • 3
  • 25
  • 38