aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.from_codepoints.3
blob: cfc3133bdb0bd5234906b07efe04ceb1972fce52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Text.from_codepoints 3 2025-09-06 "Tomo man-pages"
.SH NAME
Text.from_codepoints \- convert UTF32 codepoints to text
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Text.from_codepoints\ :\ func(codepoints:\ [Int32]\ ->\ [Text])
.fi
.SH DESCRIPTION
Returns text that has been constructed from the given UTF32 codepoints.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx lb
l l l l.
Name	Type	Description	Default
codepoints	[Int32]	The UTF32 codepoints in the desired text. 	-
.TE
.SH RETURN
A new text with the specified codepoints after normalization has been applied.

.SH NOTES
The text will be normalized, so the resulting text's codepoints may not exactly match the input codepoints.

.SH EXAMPLES
.EX
>> Text.from_codepoints([197, 107, 101])
= "Åke"
.EE