help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coding system


From: Stefan Monnier
Subject: Re: coding system
Date: Sat, 26 Mar 2005 18:46:19 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> However it seems that the coding system for keyboard input is latin-1.
> This is a unibyte coding system; why does emacs see a multibyte charater
> when I press é? To what corresponds this 2281?

Inside Emacs, there's no such thing as unibyte characters and
a multibyte characters.   There are just characters, which are represented
by integers.  When loading/saving a file, characters are decoded/encoded
into sequences of bytes which can be unibyte or multibyte.  This same "é"
can be represented in some files with a single byte (e.g. if it's a latin-1
file) or as two bytes (e.g. if it's a utf-8 file), or ...


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]