CharsetEncode()
Uses the specified encoding to convert binary data to a string.
CharsetEncode( binary=binary, encoding=string );
Returns: String
Examples
decoded = CharsetDecode("I am a string.", "utf-8");
dump(CharsetEncode(decoded, "utf-8")); // "I am a string"
See also
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)