Mercurial > emacs
diff lispref/nonascii.texi @ 52788:814620b1c1af
Don't mention preferred-coding-system.
make-char zeroes 8th bit of code args.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 06 Oct 2003 16:59:45 +0000 |
parents | 695cf19ef79e |
children | 1a5c50faf357 |
line wrap: on
line diff
--- a/lispref/nonascii.texi Mon Oct 06 16:52:24 2003 +0000 +++ b/lispref/nonascii.texi Mon Oct 06 16:59:45 2003 +0000 @@ -325,9 +325,7 @@ This function returns the charset property list of the character set @var{charset}. Although @var{charset} is a symbol, this is not the same as the property list of that symbol. Charset properties are used for -special purposes within Emacs; for example, -@code{preferred-coding-system} helps determine which coding system to -use to encode characters in a charset. +special purposes within Emacs. @end defun @node Chars and Bytes @@ -401,6 +399,11 @@ (make-char 'latin-iso8859-1 72) @result{} 2248 @end example + +Actually, the eighth bit of both @var{code1} and @var{code2} is zeroed +before they are used to index @var{charset}. Thus you may use, for +instance, an ISO 8859 character code rather than subtracting 128, as +is necessary to index the corresponding Emacs charset. @end defun @cindex generic characters