all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmx.net>
Subject: Re: Russian letters
Date: Fri, 7 Jul 2006 00:48:15 +0300	[thread overview]
Message-ID: <200607070048.15559.pogonyshev@gmx.net> (raw)
In-Reply-To: <uhd1uqvvl.fsf@gnu.org>

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

Eli Zaretskii wrote:
> > From: Paul Pogonyshev <pogonyshev@gmx.net>
> > Date: Thu, 6 Jul 2006 23:27:27 +0300
> > 
> > > > > What was the file's encoding?
> > > > 
> > > > UTF-8.
> > > 
> > > UTF-8 is always decoded into Unicode character set, while you
> > > originally said that characters read from a file were decoded into
> > > Cyrillic ISO character set.  Which one is true?
> > 
> > I explicitly reverted the buffer in UTF-8 (though I know it is):
> > 
> > 	C-x RET r utf-8 RET yes RET
> 
> This gets more and more complicated with each message.
> 
> Could you please post a short file (as a binary attachment) and a
> clear recipe how you visit it and how you type Cyrillic characters in
> order to reproduce the problem?

OK, after some testing I came up with a test (I didn't find it earlier
because `customize-variable' is essential, simply setting it doesn't
work):

$ emacs -Q
M-x customize-variable RET utf-fragment-on-decoding RET
[set to t, set for current session]
C-x C-f test.text RET

Now, the characters from the file are decoded into `cyrillic-iso8859-5',
while new, typed characters are in `mule-unicode-0100-24ff'.

> Did I understand correctly that, unlike you first said, the Cyrillic
> ISO characters come from keyboard input, while the mule-unicode
> characters come from a file?

No.  Please try yourself, that way it must be easier to understand ;)

Paul

[-- Attachment #2: test.text --]
[-- Type: text/plain, Size: 102 bytes --]

АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ

Local variables:
coding: utf-8
End:

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2006-07-06 21:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-05 18:10 Russian letters Paul Pogonyshev
2006-07-05 18:19 ` Andreas Schwab
2006-07-05 21:43   ` Paul Pogonyshev
2006-07-05 22:08     ` Andreas Schwab
2006-07-05 22:21       ` Paul Pogonyshev
2006-07-05 22:55         ` Andreas Schwab
2006-07-06 15:59           ` Paul Pogonyshev
2006-07-06 16:39             ` Andreas Schwab
2006-07-06 18:17               ` Paul Pogonyshev
2006-07-06 20:11                 ` Eli Zaretskii
2006-07-06  3:41         ` Eli Zaretskii
2006-07-06 15:56           ` Paul Pogonyshev
2006-07-06 20:12             ` Eli Zaretskii
2006-07-06 20:27               ` Paul Pogonyshev
2006-07-06 20:38                 ` Paul Pogonyshev
2006-07-07  8:41                   ` Eli Zaretskii
2006-07-06 21:14                 ` Eli Zaretskii
2006-07-06 21:48                   ` Paul Pogonyshev [this message]
2006-07-07  8:46                     ` Eli Zaretskii
2006-07-07 19:59                       ` Paul Pogonyshev
2006-07-08 12:35                         ` Eli Zaretskii
2006-07-08 15:30                           ` Paul Pogonyshev
2006-07-08 16:06                             ` Eli Zaretskii

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=200607070048.15559.pogonyshev@gmx.net \
    --to=pogonyshev@gmx.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.