unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Roland Winkler <roland.winkler@physik.uni-erlangen.de>
Cc: emacs-devel@gnu.org
Subject: Re: displaying 8bit characters octal sequences
Date: Mon, 11 Oct 2004 19:58:03 +0200	[thread overview]
Message-ID: <16746.51627.50070.868521@tfkp07.physik.uni-erlangen.de> (raw)
In-Reply-To: <m1brf9iahv.fsf-monnier+emacs@gnu.org>

On Mon Oct 11 2004 Stefan wrote:
> > Stefan, thanks a lot, though I am still not sure I understand
> > correctly what you say. If I understand you right
> 
> > (standard-display-default 128 255)
> 
> > should work if I am not in unibyte mode. 
> 
> Yes, but it only applies to chars in the 128-255 range (in the
> domain of the chars internal to Emacs, not in latin-1, or koi-8,
> or whathaveyou).

Thanks, I believe I understand what you mean.

> When not in multibyte mode, most likely your umlaute are correctly
> recognized as latin-1 and represented as latin-1 chars internally
> (with codepoints around 2200 or 2300 IIRC). Try C-u C-x = on one
> of those chars.

The codepoint in my particular example is 228:

  character: ä (0344, 228, 0xe4)
    charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF))
 code point: 228
     syntax: w  which means: word
buffer code: 0xE4
  file code: 0xE4 (encoded by coding system raw-text-unix)
    display: by display table entry [?] (see below)

The display table entry is displayed by these fonts (glyph codes):
ä: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1 (0xE4)

> To see the octal sequence try: open the file in unibyte mode, then type
> M-x toggle-enable-multibyte-characters RET.

When I load the file in an emacs --unibyte, then I type
M-x toggle-enable-multibyte-characters RET
nothing happens.

Roland

  reply	other threads:[~2004-10-11 17:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10 22:34 displaying 8bit characters octal sequences Roland Winkler
2004-10-10 22:51 ` Stefan
2004-10-10 23:09   ` Roland Winkler
2004-10-11 14:12     ` Stefan
2004-10-11 14:28       ` Roland Winkler
2004-10-11 14:45         ` Stefan
2004-10-11 17:58           ` Roland Winkler [this message]
2004-10-11 19:41             ` Stefan Monnier
2004-10-11 20:02               ` Roland Winkler
2004-10-12 14:30                 ` Stefan Monnier
2004-10-11 19:45             ` Stefan Monnier
2004-10-11 14:55       ` Kim F. Storm
2004-10-12  7:38         ` Kenichi Handa
2004-10-13 13:44           ` Roland Winkler
2004-10-12  8:57       ` Richard Stallman

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=16746.51627.50070.868521@tfkp07.physik.uni-erlangen.de \
    --to=roland.winkler@physik.uni-erlangen.de \
    --cc=emacs-devel@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 public inbox

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

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).