Re: Создание сайта
Кабанов Евгений writes
> На Sun, 17 Feb 2008 11:20:31 +0600
> Ivan Dubrov <wfragg@gmail.com> записано:
>
> > Кабанов Евгений wrote:
> > > 3) Как заставить браузер (какими тегами) показывать мои страницы в
> > > UTF-8, а не в Windows-1251, например, без выбора кодировок руками.
> > > Спасибо.
> > >
> > Наждо научить Apache (или кто у вас там) посылать правильный
> > заголовок Content-Type. Сейчас приходит такой заголовок:
> >
> > Content-Type: text/html; charset=koi8-r
> >
> Да, у меня (хостинг от nic.ru)с этим проблемы. Спасибо за совет.
с Apache:
krichel@wombat:/etc/apache2/conf.d$ cat charset
# Read the documentation before enabling AddDefaultCharset.
# In general, it is only a good idea if you know that all your files
# have this encoding. It will override any encoding given in the files
# in meta http-equiv or xml encoding tags.
AddDefaultCharset UTF-8
Cheers,
Thomas Krichel http://openlib.org/home/krichel
RePEc:per:1965-06-05:thomas_krichel
phone: +7 383 330 6813 skype: thomaskrichel
Reply to: