[Top][All Lists]

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

Re: Creating a coding system

From: Eli Zaretskii
Subject: Re: Creating a coding system
Date: Sat, 20 Dec 2014 18:53:06 +0200

> From: David Kastrup <address@hidden>
> Date: Sat, 20 Dec 2014 17:43:40 +0100
> Cc: address@hidden
> Andreas Schwab <address@hidden> writes:
> >>> The translation table operates on the decoded contents.
> >>
> >> Why would something be decoded twice in a row?
> >
> > You don't know the characters before decoding.
> That's an "Andreas" answer: an insider joke comprehensible only once you
> already know the answer.  It's not even a hint.


Let me try being a bit more helpful.  The translation table is a
char-table that converts one character into another.  Since these
tables convert _characters_, you need to have a character before you
apply the table.  To have a character, you need to decode the byte
stream into characters.

You can find more details on this in the node "Translation of
Characters" in the ELisp manual.

reply via email to

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