From: Vadim Vinichenko <vnv@14000.ru> To: community@altlinux.ru Subject: [Comm] Emacs&UTF8 (Was: text&UTF8) Date: Wed, 22 Jan 2003 15:12:52 +0300 Message-ID: <3E2E8AC4.3030605@14000.ru> (raw) In-Reply-To: <3E2E7864.8030708@iop.kiev.ua> А вот с чем столкнулся я, когда вчера, посмотрев на этот тред, попытался редактировать UTF8 в GNU Emacs: 1. Открываю файл, предварительно указав кодировку: C-x RET c, указываю в mini-buffer utf-8, а затем C-x C-f. Файл открывается, русские буквы читаются (это некий *.dtd от локализованной Мозиллы). 2. Ввожу русские буквы, вводятся нормально. 3. Сохраняю файл - здесь начинаются проблемы. Если сохранять без указания кодировки (просто C-x C-s), Emacs говорит о том, что попытался сохранить в cp1251 (это соответствует моей системной локали) и mule-utf-8-dos (названия примерные, по памяти), но в этих кодировках нет подходящих символов. Предлагает выбрать кодировку для сохранения из списка (в котором, в основном, iso-2022-разные варианты), но при таком сохранении получается явно не utf-8 (что не удивительно). Если же перед сохранением указать кодировку в явном виде (C-x RET c utf-8), то вновь введенные символы сохраняются некорректно - при последующем открытии файла как utf-8 отображаются в виде прямоугольников. MULE установлен, операции типа C-x RET c koi8-r C-x C-f с редактированием и последующим сохранением выполнялись неоднократно и успешно. Никто не знает, в чем тут может быть загвоздка? Нужно поменять какие-то настройки, или я что-то не так делаю? Локаль ru_RU.CP1251, GNU Emacs из Сизифа (начало ноября, последнее обновление на CD). Пишу сюда, поскольку вопрос имеет отношение к данному треду. -- С уважением, Вадим
next prev parent reply other threads:[~2003-01-22 12:12 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-21 16:46 [Comm] text&UTF8 Andriy Dobrovol's'kii 2003-01-21 16:52 ` Alexandre Prokoudine 2003-01-21 17:00 ` Andriy Dobrovol's'kii 2003-01-21 17:08 ` Сергей Власов 2003-01-21 21:16 ` Alexander Dymo 2003-01-22 10:01 ` Andriy Dobrovol's'kii 2003-01-22 10:54 ` Andriy Dobrovol's'kii 2003-01-22 11:33 ` Vadim Vinichenko 2003-01-22 12:12 ` Serhii Hlodin 2003-01-22 12:12 ` Vadim Vinichenko [this message] 2003-01-22 15:52 ` [Comm] Emacs&UTF8 (Was: text&UTF8) Andriy Dobrovol's'kii 2003-01-22 23:14 ` Vadim Vinichenko 2003-01-23 8:45 ` ROmul 2003-01-23 11:06 ` Oleg K. Artemjev 2003-01-23 10:08 ` Vadim Vinichenko 2003-01-23 13:48 ` Oleg K. Artemjev 2003-01-23 10:56 ` Vadim Vinichenko 2003-01-23 15:23 ` [Comm] XEmacs&UTF8 " Oleg K. Artemjev
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=3E2E8AC4.3030605@14000.ru \ --to=vnv@14000.ru \ --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