Re: Why are byte ports "ports" as such?
Jonathan S. Shapiro 21 May 2006 16:36 UTC
On Sun, 2006-05-21 at 17:54 +0200, Marcin 'Qrczak' Kowalczyk wrote:
> "Jonathan S. Shapiro" <xxxxxx@eros-os.org> writes:
>
> > 1. The correct primitive is READ-CODEPOINT, not READ-CHAR.
> > READ-CHAR is a library routine.
>
> Unless char is defined to be a code point. Which is IMHO the most
> reasonable choice: code points are the natural atomic units of Unicode
> text, and most Unicode algorithms are expressed in terms of code points.
In many respects I agree that this would be sensible from the
programmer's perspective.
Unfortunately it is quite wrong, which is something that the UNICODE
people go to great lengths to make clear (and, IMO, a serious failing of
UNICODE).
shap