| View previous topic :: View next topic |
IgorT Funnilein

Joined: 22 Jun 2007 Posts: 3
|
Posted: 29.06.07 13:24 Post subject: Problem with cp1251 charset ! |
|
|
|
| I have problem : my web syte is working only with win1251 charset, but i cant to set default it - when i came into my site, charset was set automaticly in Western European. What i must to do ? |
|
| Back to top
|
|
|
alexweb Funnilein

Joined: 08 Jun 2007 Posts: 5
|
Posted: 31.10.07 08:52 Post subject: |
|
|
|
хОть кто то русский нашелся )) |
|
| Back to top
|
|
|
alexweb Funnilein

Joined: 08 Jun 2007 Posts: 5
|
Posted: 31.10.07 08:54 Post subject: |
|
|
|
| Code: | | <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> |
|
|
| Back to top
|
|
|
crushmaster Fun-Schreck

Joined: 26 Jul 2007 Posts: 171
|
Posted: 31.10.07 11:58 Post subject: |
|
|
|
modern browsers do not recognize the meta values. you have to send it using a php header instead.
depending on the used mimetype, you have to use text/html
<?php header('Content-Type: text/html; charset=windows-1251'); ?>
but windows-1251 sucks!!! _________________ http://www.conmunix.net the web application security experts |
|
| Back to top
|
|
|
IgorT Funnilein

Joined: 22 Jun 2007 Posts: 3
|
Posted: 10.11.07 16:18 Post subject: |
|
|
|
Да, я уже все понял... ))))
Thank you, all working... |
|
| Back to top
|
|
|