Converts a string to a binary representation.
charsetDecode(string, encoding)
→ returns binary
utf-8iso-8859-1windows-1252us-asciishift_jisiso-2022-jpeuc-jpeuc-krbig5euc-cnutf-16Use charsetDecode to decode with utf-8
charsetDecode('string','utf-8');
Expected Result: [BINARY]
Use charsetDecode to decode with us-ascii
charsetDecode('string','us-ascii');
Expected Result: [BINARY]
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.