Document new utf-8 functions.

This commit is contained in:
Dominik Pantůček 2023-04-11 14:26:37 +02:00
parent 59ce69e7e3
commit 9c9386535b
2 changed files with 25 additions and 1 deletions

View file

@ -428,6 +428,26 @@ Returns a pair of strings where the ```car``` of the pair is the first
token in the ```str``` given and ```cdr``` is a string with the
remainder with leading whitespace removed.
(string-utf8? str)
* ```str``` - arbitrary string
Returns ```#t``` if given string ```str``` contains UTF-8 characters.
(string->list/utf8 str)
* ```str``` - arbitrary string
Returns a list of strings representing individual (possibly UTF-8)
characters of the string.
(string->qp str)
* ```str``` - arbitrary string
Returns a new string with all non-ASCII characters encoded as
quoted-printable sequences.
### Tag
(import util-tag)

View file

@ -29,11 +29,15 @@
util-string
(
string-repeat
string-first+rest
string-utf8?
string-tests!
string->list/utf8
string->qp
string-tests!
)
(import scheme