SYNOPSIS

buffer string_encode(string str, string encoding);

DESCRIPTION

Encode the given string str(in UTF-8) using given encoding, return an buffer of bytes.

SEE ALSO

string_decode, buffer_transcode
Improve this page

Every page on this site is maintained by user like you!

Edit On Github