Re:Brian Kernighan adds Unicode support to Awk
by moomin on Saturday August 20, 2022 @02:49PM
(#32534289)
A “character” can be of fairly arbitrary length in Unicode, so no.
[ Parent
| on HN ]
Re:Brian Kernighan adds Unicode support to Awk
by fooster on Saturday August 20, 2022 @04:29PM
(#32534947)
Not to be contradictory, but unicode is not a specific encoding. ufc-8 is an encoding (with a non specific length) and utf-32 is an encoding of a Unicode code point with a specific length.
Re:Brian Kernighan adds Unicode support to Awk
by happytoexplain on Saturday August 20, 2022 @09:25PM
(#32536603)
Most people talking about characters in Unicode are referring to grapheme clusters, and I assume the parent is too, since they are in fact defined by Unicode and vary in length in all encodings, hence their answer of "no" to the GP.