From: Vitaly Lipatov <LAV@VL3143.spb.edu>
To: kde-russian@lists.kde.ru
Subject: Re: [kde-russian] Выбор кодировки в диалоге открытия
Date: Mon, 7 Oct 2002 11:10:39 +0400
Message-ID: <200210071110.39652.LAV@VL3143.spb.edu> (raw)
In-Reply-To: <200210071348.20552.cas@sibene.elektra.ru>
On 7 Октябрь 2002 09:48, Andrey S. Cherepanov wrote:
> 7 Октябрь 2002 12:58, Andrey S. Cherepanov написал:
>
> > 6 Октябрь 2002 18:18, Vitaly Lipatov написал:
> >
> > > В 3-м KDE появилась очень удобная возможность выбирать
> > > кодировку файла при открытии (например, в текстовом
> > > редакторе или при вставке файла в KMail). Только вот там
> > > нет кодировки cp866, что очень грустно. Можно как-то
> > > помочь положению?
> >
> > Мои изыскания довели до получения списка кодировок через
>
> KGlobal::charsets(),
>
> > которая использует методы класса QTextCodec. cp866 там нет.
> > Поэтому необходимо покопаться в исходниках Qt, где жестко
> > прошита кодировка. Исходников Qt под рукой нет. О
> > результатах скажешь общественности.
>
>
> Баг уже послан в TrollTech :)
Кстати, cp866 это хорошо, но она обычно сопровождается CR LF в
файле, что выплывает в виде квадратиков. Может быть и это можно
решить?
И ещё по поводу KMail. Ко мне идут постоянные жалобы, что
вложения с русскими именами не могут открыть в Outlook.
Я сравнил 4 почтовых клиента, KMail почему то указывает filename*
(я не знаю стандартов), а вот Mozilla похоже делает так, как это
понравилось бы Outlook. Совет называть файлы латинскими буквами
я конечно дал, но может быть можно решить это на уровне
почтового клиента, не меняя его на Mozilla? Мне бы знать, как
правильно и как лучше сделать, я бы может покопался. Помню в KDE
1 с удовольствием копался в исходниках Kmail, не желающего
нормально указывать charset в письмах...
KMail:
--------------Boundary-00=_6DNLP8VDDLKOKK4EU19D
Content-Type: text/x-lyx;
charset="us-ascii";
name*="koi8-r''%FA%C1%CD%C5%D4%CB%C9%EB%F0%C5%D2%C5%D7%CF%C4%D5%2Elyx"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment;
filename*="koi8-r''%FA%C1%CD%C5%D4%CB%C9%EB%F0%C5%D2%C5%D7%CF%C4%D5%2Elyx"
Sylpheed:
--Multipart_Mon__7_Oct_2002_10:59:49_+0400_08204978
Content-Type: application/octet-stream;
name="=?KOI8-R?B?+sHNxdTLyevwxdLF18/E1S5seXg=?="
Content-Disposition: attachment;
filename="=?KOI8-R?B?+sHNxdTLyevwxdLF18/E1S5seXg=?="
Content-Transfer-Encoding: base64
mutt:
--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=koi8-r
Content-Disposition: attachment;
filename*=koi8-r''%FA%C1%CD%C5%D4%CB%C9%EB%F0%C5%D2%C5%D7%CF%C4%D5%2Elyx
Content-Transfer-Encoding: 8bit
Mozilla:
--------------070401010001050105020005
Content-Type: text/plain;
name="=?KOI8-R?Q?=FA=C1=CD=C5=D4=CB=C9=EB=F0=C5=D2=C5=D7=CF=C4=D5=2Elyx?="
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
filename="=?KOI8-R?Q?=FA=C1=CD=C5=D4=CB=C9=EB=F0=C5=D2=C5=D7=CF=C4=D5=2Elyx?="
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!
next prev parent reply other threads:[~2002-10-07 7:10 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-06 10:18 Vitaly Lipatov
2002-10-07 4:58 ` Andrey S. Cherepanov
2002-10-07 5:48 ` Andrey S. Cherepanov
2002-10-07 5:58 ` А.Л. Клютченя
2002-10-07 7:11 ` Leon Kanter
2002-10-07 7:24 ` А.Л. Клютченя
2002-10-07 8:10 ` Leon Kanter
2002-10-07 8:25 ` Vitaly Lipatov
2002-10-07 8:30 ` А.Л. Клютченя
2002-10-07 10:19 ` Leon Kanter
2002-10-07 11:25 ` Vitaly Lipatov
2002-10-07 12:23 ` Leon Kanter
2002-10-08 0:20 ` Andrey S. Cherepanov
2002-10-07 7:12 ` Сукиязов Сергей
2002-10-07 8:32 ` Andrey S. Cherepanov
2002-10-07 10:00 ` Сукиязов Сергей
2002-10-07 10:06 ` Andrey S. Cherepanov
2002-10-07 10:21 ` Сукиязов Сергей
2002-10-07 10:34 ` Andrey S. Cherepanov
2002-10-07 11:26 ` Сукиязов Сергей
2002-10-07 7:10 ` Vitaly Lipatov [this message]
2002-10-07 7:25 ` А.Л. Клютченя
2002-10-07 7:41 ` Сукиязов Сергей
2002-10-07 8:06 ` Vitaly Lipatov
2002-10-07 8:31 ` Andrey S. Cherepanov
2002-10-07 9:29 ` Vitaly Lipatov
2002-10-07 9:54 ` Andrey S. Cherepanov
2002-10-07 9:06 ` Leon Kanter
2002-10-07 8:19 ` Andrey S. Cherepanov
2002-10-07 9:33 ` Vitaly Lipatov
2002-10-07 9:51 ` Andrey S. Cherepanov
2002-10-07 7:10 ` Leon Kanter
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=200210071110.39652.LAV@VL3143.spb.edu \
--to=lav@vl3143.spb.edu \
--cc=kde-russian@lists.kde.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
рассылка русскоязычной группы пользователей и разработчиков KDE
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/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 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
kde-russian@lists.kde.ru
public-inbox-index kde-russian
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.kde-russian
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git