chickadee » chicken » bytevector » utf8->string

utf8->string BYTEVECTOR #!optional VALIDATEprocedure

Returns a string with the contents of BYTEVECTOR. if VALIDATE is given and false, then invalidly encoded characters do not signal an error - byte-sequences that do not represent valid UTF-8 characters are retained and, if extracted with string-ref are converted to a trailing surrogate pair half in the range U+DC80 to U+DCFF.