ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Andrei Bulava <abulava@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] добро пожаловать в рунет! (Was: Re:  &#1074; &#1080; &#1088; &#1090; &#1091; &#1072; &#1083; &#1100; &#1085; &#1099; &#1081; &#1082; &#1086; &#1084; &#1087; . &#1082; &#1083; &#1072; &#1089; &#1089;)
Date: Thu, 26 Oct 2006 14:33:41 +0300
Message-ID: <45409D15.2060107@altlinux.ru> (raw)
In-Reply-To: <4540916C.5060202@ieml.ru>

Timur Batyrshin wrote:
> Алексей Данилович пишет:
>> вот что интересно: какой клиент такое накодил? :)
> 
> SquirrelMail. Видимо донастроить там что-то надо, чтобы он русский текст
> в UTF не заворачивал.

&#1074; и пр. - это "творчество" браузера из-за несоответствия кодировки
страницы, где находится <form  method="post"
enctype="multipart/form-data">, с данными, заполненными в этой форме.
Иными словами, данные формы не выражаются в кодировке страницы с формой
(см. ниже, а для тех, кто уже понял: &#1074; - это html entity,
выражающая русскую букву среди html кода в кодировке ISO-8859-1).

В сторонку: HTTP - тот ещё набор скелетов в шкафу.

Проверьте, что
http://path/to/squirrelmail/src/compose.php?mailbox=INBOX&startMessage=1
возвращается вам не в кодировке ISO-8859-1 (а она таки возвращается в
этой кодировке - только что проверил).

Полечить можно двумя способами:

1) указать в
https://path/to/squirrelmail/webmail/src/options.php?optpage=display
"Language: Russian". Правда, от UTF-8 это не избавит, а именно добавит -
тем самым нарушив правила хорошего тона в рассылках @altlinux;

2) указать "$default_charset = 'koi8-r';" в
/etc/squirrelmail/config_local.php - это настолько же плохо, как и
'iso-8859-1', стоящий в /etc/squirrelmail/config.php по умолчанию - зато
"в духе" правил рассылки.

Выбирать вам. Правильный способ, увы, идёт не в ногу с верным путём
рунета :-(

>> 25.10.06, Timur Batyrshin<batyrshin@ieml.ru> написал(а):
>>> &#1055;&#1086;&#1103;&#1074;&#1080;&#1083;&#1072;&#1089;&#1100;

-- 
// AB1002-UANIC



      reply	other threads:[~2006-10-26 11:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-25 19:04 [Sysadmins] &#1074; &#1080; &#1088; &#1090; &#1091; &#1072; &#1083; &#1100; &#1085; &#1099; &#1081; &#1082; &#1086; &#1084; &#1087; . &#1082; &#1083; &#1072; &#1089; &#1089; Timur Batyrshin
2006-10-25 19:10 ` [Sysadmins] &#1074; &#1080 Хихин Руслан
2006-10-26  5:12   ` Timur Batyrshin
2006-10-26  6:04 ` [Sysadmins] &#1074; &#1080; &#1088; &#1090; &#1091; &#1072; &#1083; &#1100; &#1085; &#1099; &#1081; &#1082; &#1086; &#1084; &#1087; . &#1082; &#1083; &#1072; &#1089; &#1089; Алексей Данилович
2006-10-26 10:43   ` Timur Batyrshin
2006-10-26 11:33     ` Andrei Bulava [this message]

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=45409D15.2060107@altlinux.ru \
    --to=abulava@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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