8.2.52.5 string.decode

Static Method: out = string.decode (bytes, charsetName)

Decode encoded text from bytes.

Decodes the given encoded text in bytes according to the specified encoding, given by charsetName.

Returns a scalar string.

See also: string.encode