CharsetDecode()

Converts as string to a binary representation.

CharsetDecode( encoded_binary=string, encoding=string );

Returns: binary

Argument Description
encoded_binary
string, required

A string containing data to encode in binary format.

Alias: string, encodedBinary

encoding
string, required

A string specifying encoding of the input data.

Examples

dump(CharsetDecode("I am a string.", "utf-8"));

See also