Document new utf-8 functions.
This commit is contained in:
parent
59ce69e7e3
commit
9c9386535b
2 changed files with 25 additions and 1 deletions
20
doc/utils.md
20
doc/utils.md
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue