Good afternoon, dear experts.

Actually, I’m probably already tired of everything with questions about encodings, but oddly enough, they are the ones who get me the most. So. Battlefield: http://stroy-zdes.ru/ The main enemy boss is IE, who does not want to display Russian text.

What means were used:

  1. <meta http-equiv="Cоntent-Type" cоntent=text/html; charset="windows-1251" >
  2. lang.htaccess: AddDefaultCharset utf8
  3. mysql_set_charset("utf8");

These means of influence did not have the desired effect. It works in all browsers except IE. Checked in Opera, Fox, Safari and Chrome.

  • 3
    Common sense dictates that the encoding should be the same everywhere, for that matter. - VioLet
  • Sensible - yes, practice is not. All that I have tried is listed above, and not something that is stuck directly at a specific moment. Ie, if I put utf-8 in 1 place, it is logical that I changed it in other places. =)) - anj1817

2 answers 2

In 1. you need to register charset="utf-8" .

  • > Ie, if I put utf-8 in 1 place, it is logical that I changed it in other places. =)) Apparently, all the same, not so logical. - VioLet
 <meta http-equiv="Cоntent-Type" cоntent=text/html; charset="utf-8"> 

Should help, I think everything will be ok! Personally, I was helped many times, precisely in IE6.