Question - internal representation of char in Algol 68

Bruno Haible bruno@clisp.org
Fri Jan 9 23:39:54 GMT 2026


Jose E. Marchesi wrote:
> > So a separate operator COLLATESTO could be quite useful to the programmer
> > in certain circumstances.

Since it depends on the locale (as context), I don't think it can be an operator.
It can only be a function / procedure.

> We need a good Unicode library for Algol 68, which could be to wrap GNU
> libunistring :)

Indeed, GNU libunistring has the function u32_casecoll for locale-sensitive
collation [1].

Bruno

[1] https://www.gnu.org/software/libunistring/manual/html_node/Case-insensitive-comparison.html





More information about the Algol68 mailing list