Support for "wide" Unicode characters
Paul Prescod
paulp at ActiveState.com
Sun Jul 1 00:05:52 EDT 2001
Terry Reedy wrote:
>
>...
>
> I find this ambiguous. Is 'codepoint' a synonym for integer (in range 0 to
> MAX)? or just for integer that does or might someday represent a character?
> Does 'some' (in all three uses) refer to integers or codepoints?
Okay:
Code point
If you imagine Unicode as a mapping from integers to
characters, each integer is a code point. In other words
a code point is an integer between 0 and TOPCHAR.
Some code points are really mapped to characters. Some will
someday be used for characters. Some are guaranteed never
to be used for characters.
--
Take a recipe. Leave a recipe.
Python Cookbook! http://www.ActiveState.com/pythoncookbook
More information about the Python-list
mailing list