From d64dcab138a34d5f5105e08f0a840f7cb5a1d159 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 9 Sep 2025 19:58:07 -0400 Subject: Overhaul to the unicode encoding/decoding methods for text --- man/man3/tomo-Text.utf32.3 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 man/man3/tomo-Text.utf32.3 (limited to 'man/man3/tomo-Text.utf32.3') diff --git a/man/man3/tomo-Text.utf32.3 b/man/man3/tomo-Text.utf32.3 new file mode 100644 index 00000000..ff37ba9c --- /dev/null +++ b/man/man3/tomo-Text.utf32.3 @@ -0,0 +1,34 @@ +'\" t +.\" Copyright (c) 2025 Bruce Hill +.\" All rights reserved. +.\" +.TH Text.utf32 3 2025-09-09 "Tomo man-pages" +.SH NAME +Text.utf32 \- get UTF32 codepoints +.SH LIBRARY +Tomo Standard Library +.SH SYNOPSIS +.nf +.BI Text.utf32\ :\ func(text:\ Text\ ->\ [Int32]) +.fi +.SH DESCRIPTION +Returns a list of Unicode code points for UTF32 encoding of the text. + + +.SH ARGUMENTS + +.TS +allbox; +lb lb lbx lb +l l l l. +Name Type Description Default +text Text The text from which to extract Unicode code points. - +.TE +.SH RETURN +A list of 32-bit integer Unicode code points (`[Int32]`). + +.SH EXAMPLES +.EX +>> "Amélie".utf32() += [65, 109, 233, 108, 105, 101] +.EE -- cgit v1.2.3