strings / string_decode

Edit this article on Github.

SYNOPSIS

string string_decode(buffer buf, string encoding);

DESCRIPTION

Decode the given buffer with given encoding into an UTF-8 string.

SEE ALSO

string_decode, buffer_transcode