unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Subject: Re: Input of XML documents (input of unicode)
Date: Sun, 13 Oct 2002 07:49:59 +0200 (IST)	[thread overview]
Message-ID: <Pine.SUN.3.91.1021013074516.11821B-100000@is> (raw)
In-Reply-To: <5llm53eams.fsf@rum.cs.yale.edu>


On 12 Oct 2002, Stefan Monnier <foo@acm.com> wrote:

> >> Unfortunately they do.  I see the Greek theta, because it was
> >> in the file before I opened it, but when I do what you suggest
> >> and type C-q 1 7 2 1: 'Invalid Character'.
> > 1721 is not the code of the Greek theta in the Emacs encoding, that's
> > why it fails.  Try this instead:
> 
> Maybe this behavior of C-q is actually not desirable.
> After all, who remembers Emacs' internal code for particular chars ?
> Also in a latin-1 locale C-q 240 RET inserts a latin-1 0240
> which is 04240 in Emacs' internal encoding, so I'd expect in
> a utf-8 environment that C-q <octal-code-of-a-unicode-char> RET
> would insert the desired unicode char.

It should, but 1721 isn't the octal code of the Greek theta in Unicode, 
either.

> Of course, I know where C-q's current behavior comes from and that
> C-q doesn't really do the 0240 -> 04240 conversion itself (and that
> it is not done according to the keyboard-coding-system), but maybe
> it would make sense to change that.

C-q <utf-8-code-of-a-unicode-character> RET should insert a Unicode 
character in the UTF-8 locale.  Doesn't it?

  reply	other threads:[~2002-10-13  5:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11 15:51 Input of XML documents (input of unicode) Torsten Bronger
2002-10-11 18:28 ` Kevin Rodgers
2002-10-11 20:59 ` Jason Rumney
2002-10-11 23:49   ` Torsten Bronger
2002-10-12  7:35     ` Eli Zaretskii
2002-10-12 10:12     ` Karl Eichwalder
2002-10-12 10:19       ` Karl Eichwalder
     [not found]     ` <mailman.1034412060.19974.help-gnu-emacs@gnu.org>
2002-10-12 19:10       ` Stefan Monnier <foo@acm.com>
2002-10-13  5:49         ` Eli Zaretskii [this message]
2002-10-12  1:47 ` Charles Muller
2002-10-12  3:22 ` Jesper Harder

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SUN.3.91.1021013074516.11821B-100000@is \
    --to=eliz@is.elta.co.il \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).