all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pascal Bourguignon <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Enter special characters
Date: Fri, 06 Apr 2007 14:59:06 +0200	[thread overview]
Message-ID: <87d52hpskl.fsf@voyager.informatimago.com> (raw)
In-Reply-To: m3mz1lg3ww.fsf@timbral.net

thorne <thinly-disguised@spam-sucks.foo> writes:

> The Chief Instigator <patrick@eris.io.com> writes:
>
>> thorne <thinly-disguised@spam-sucks.foo> writes:
>
>>>Is this octal ASCII--or what?  I would like to google for a list of
>>>the characters and their octal numbers, but i don't know what the
>>>encoding is.  Or is this a big can of worms i should forget about?
>>
>> It takes octal arguments - to insert a German "ss", just use C-q
>> 0-3-3-7-return - six keystrokes, and you should get a ß inserted at the point.
>> (You won't get anything printable for 0000 octal through 0037 - 0040 is
>> a space, though - and from 0200 through 0237 (128 through 159 in decimal).)
>
> To what do these numbers corelate, and is there a list somewhere with
> which i can look up specific ones?

They are the emacs codes corresponding to the character.  Fortunately,
for characters in the iso-8859-1 character set (including ASCII), the
emacs encoding are the same as the iso-8859-1 encoding.  But for other
unicode characters, the emacs codes are different.  You'd have to read
emacs doc or sources to know what they are or how they map from
unicode to emacs, I guess.

You can set the variable read-quoted-char-radix to specify the base
C-q takes its number, (At least in emacs-version "22.0.94.1"), so you
don't have to convert from decimal to octal in your head.

You can find the iso-8859-1 coding table in wikipedia and numerous
other web sites, use google.


-- 
__Pascal Bourguignon__
http://www.informatimago.com
http://pjb.ogamita.org

  parent reply	other threads:[~2007-04-06 12:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-05 12:34 Enter special characters Paul Batt
2007-04-05 12:58 ` Hans-Christoph Wirth
2007-04-05 18:24   ` Paul Batt
2007-04-06  2:52   ` thorne
2007-04-06  4:32     ` The Chief Instigator
2007-04-06 11:04       ` thorne
2007-04-06 11:15         ` Joost Kremers
2007-04-06 12:59         ` Pascal Bourguignon [this message]
2007-04-06 14:22         ` The Chief Instigator
2007-04-05 13:21 ` Peter Dyballa

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=87d52hpskl.fsf@voyager.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.