ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@altlinux.ru
Subject: [Comm] Re: Как заставить apache возвращать кодировку
Date: Wed, 1 Sep 2004 15:41:39 +0300
Message-ID: <20040901124139.GS31156@osdn.org.ua> (raw)
In-Reply-To: <4135C27D.5040606@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

On Wed, Sep 01, 2004 at 09:37:17PM +0900, Ivan Fedorov wrote:
> > Подскажите пожалуйста, в каком месте настраивавется функция,
> > возвращающая броузеру кодировку документа.
> Если код на php, то например в php.ini

Сурово.

> если нет, то это вроде только у russian apache нормально
> настраивается.  ищите в доке.

Нет (c)

Можно (и вполне допустимо и даже рекомендовано -- старые
противопоказания уже _старые_) забивать в темплейт HTML, если
есть уверенность, что на всем контенте одинаковый чарсет.

Можно генерировать нечто вида

Content-Type: text/html; charset=$charset

-- но при этом браузеру, смотрящему в сохраненную страничку,
придется заниматься угадавом или показывать бнопню.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-09-01 12:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-01 12:34 [Comm] " Anatoly A.Ivanov
2004-09-01 12:37 ` Ivan Fedorov
2004-09-01 12:41   ` Michael Shigorin [this message]
2004-09-01 12:53     ` [Comm] " Ivan Fedorov
2004-09-01 13:39       ` Michael Shigorin
2004-09-03 11:55         ` Денис Смирнов
2004-09-03 14:32           ` Michael Shigorin
2004-09-03 16:00             ` Денис Смирнов
2004-09-01 13:42       ` Alexey Morsov
2004-09-01 13:49       ` Michael Shigorin
2004-09-03 11:53     ` Денис Смирнов
2004-09-03 14:18       ` Michael Shigorin
2004-09-03 15:44         ` Denis Smirnov
2004-09-03 11:47   ` Денис Смирнов
2004-09-01 12:37 ` [Comm] " Leonid B. Sysoletin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040901124139.GS31156@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git