Lucee Function Reference
charsetencode()
Uses the specified encoding to convert binary data to a string.
Example
charsetencode(binary binary,string encoding):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
binary | binary | Yes | A variable containing binary data to decode into text. |
encoding | string | Yes | The character encoding that was used to encode the string into binary format. |