[Top][All Lists]

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

Re: wide-char is wide

From: Hans Aberg
Subject: Re: wide-char is wide
Date: Thu, 26 Mar 2009 11:00:43 +0100

On 26 Mar 2009, at 10:34, Francisco Vila wrote:

However, I agree the description of \char in the
manual could be clearer.  It needs to indicate the
hex string is a variable length dependent on the
character being encoded.  I'll fix it.

This is what confused me. The integer argument to \char (either
decimal or hex) corresponds to an Unicode code point, but the words
"variable length" apply to the internal utf-8 encoding  for it, not to
the integer argument itself.

Mostly, one does not need to know how UTF-8 represent characters in the computer - that is the beauty of it. The manual is though confusing as it relies on that one knows scheme ffor writing out characters.

It might say (or something):
\char <num> (integer) Produce a single character, where <num> is a Unicode code point (character number) given in the Scheme format; see
For example, \char #65 and \char #x41 produces the letter ‘A’.

(It is common in computer manuals to indicate variables that should be substituted with values with <...>).


reply via email to

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