From: Alexej Kryukov <akrioukov@mail.ru> To: community@altlinux.ru Subject: Re: [Comm] Re: Emacs + UTF-8 Date: Mon, 14 Jul 2003 17:00:08 +0400 Message-ID: <200307141700.08744.akrioukov@mail.ru> (raw) In-Reply-To: <3F0C010D.8090500@iop.kiev.ua> On Wednesday 09 July 2003 15:48, Andriy Dobrovol's'kii wrote: > Vitaly Ostanin wrote: > > On Sun, 22 Jun 2003 19:23:16 +0400 (MSD) > > > > Artem Vakhitov <temcat@mail.ru> wrote: > >>Не подскажет ли мне уважаемое community, > >> > >>как в Emacs установить кодировку UTF-8 при редактировании > >>XML-файла в SGML-режиме? А то C-x RET f utf-8 не дает > >>эффекта... > > > > Странно, у меня тоже не получилось, хотя помню, что не так давно > > редактировал в emacs XML в utf-8. > > > > <skipped/> > > По моему опыту, он читать такой файл может, а вот записать нет. :( Весь фокус в том, что для utf-8 используется другая внутренняя репрезентация символов. Вот поэтому открыть файл можно, и он будет читаться, но то, что вы введете потом в этом буфере с клавиатуры, обратно записать не получится. То есть, если мы хотим работать с юникодом, то все кириллические окружения надо переделывать под репрезентацию, основанную на utf-8 (сейчас там используется iso-8859-5). В свое время я этой работой занимался и готов поделиться результатами. Только меня удивляет, неужели это до сих пор никому не было нужно? > Пришлось использовать iconv до и после.
prev parent reply other threads:[~2003-07-14 13:00 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-06-22 15:23 [Comm] " Artem Vakhitov 2003-06-23 7:48 ` [Comm] " Vitaly Ostanin 2003-07-09 11:48 ` Andriy Dobrovol's'kii 2003-07-14 13:00 ` Alexej Kryukov [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=200307141700.08744.akrioukov@mail.ru \ --to=akrioukov@mail.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