unicode utf8string - part-cw/lambdanative GitHub Wiki

(unicode->utf8string src)

unicode->utf8string converts a Unicode string to UTF8. Unicode strings are lists of numbers.

Parameter Description
src Unicode string operated on

Example

Example 1: Convert Unicode string for "Fußball" to UTF8

> (define str '(70 117 195 159 98 97 108 108))
> (unicode->utf8string str)
"Fu\303\203\302\237ball"