all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Character sets and encodings confusion
Date: Fri, 11 Jan 2008 18:34:56 +0200	[thread overview]
Message-ID: <u63y0s4lr.fsf@gnu.org> (raw)
In-Reply-To: <1200061589.21732.1230705713@webmail.messagingengine.com> (ottomaddox@fastmail.fm)

> From: "Otto Maddox" <ottomaddox@fastmail.fm>
> Date: Fri, 11 Jan 2008 14:26:29 +0000
> 
> When I type `C-u C-x =' on the character `£', I get
> something like this:
> 
>   character: £ (2211, #o4243, #x8a3, U+00A3)
>     charset: latin-iso8859-1
>              (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100.)
>  code point: #x23
>      syntax: w 	which means: word
>    category: l:Latin
> buffer code: #x81 #xA3
>   file code: #xA3 (encoded by coding system iso-latin-1)
>     display: by this font (glyph code)
>      -apple-monaco-medium-r-normal--13-130-72-72-m-130-iso10646-1 (#xA3)
> 
> Why is the code point #x23?

This is the code point of `£' in the latin-iso8859-1 charset.

> Should it not be #xA3 in Latin Alphabet 1?

No.  The latin-iso8859-1 charset does not include ASCII, so it starts
from what you are used to call "codepoint 160".

> Also, what are the first three numbers in parenthesis on the
> `character:' line?  Are they code points of some charset?

They are internal Emacs representation of this character, in decimal,
octal, and hex.

This is all explained in the Emacs manual, btw; see the node "Position
Info" there (I got to that node by typing "i C-x =" in Info).

  reply	other threads:[~2008-01-11 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-11 14:26 Character sets and encodings confusion Otto Maddox
2008-01-11 16:34 ` Eli Zaretskii [this message]
     [not found] <mailman.6033.1200065717.18990.help-gnu-emacs@gnu.org>
2008-01-11 16:28 ` Jason Rumney

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=u63y0s4lr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.