CharsetDecode()
Converts as string to a binary representation.
CharsetDecode( encoded_binary=string, encoding=string );
Returns: binary
| Argument | Description |
|---|---|
|
encoded_binary
string,
required
|
edit
A string containing data to encode in binary format. Alias: string, encodedBinary |
|
encoding
string,
required
|
edit
A string specifying encoding of the input data. |
Examples
editdump(CharsetDecode("I am a string.", "utf-8"));
See also
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)