Previous: , Up: string   [Contents]


8.2.57.25 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