Uses the specified encoding to convert binary data to a string.
charsetEncode(binaryData, encoding)
→ returns string
utf-8iso-8859-1windows-1252us-asciishift_jisiso-2022-jpeuc-jpeuc-krbig5euc-cnutf-16Use charsetEncode to Encode with utf-8
s=charsetDecode('string','utf-8');
charsetEncode(s,'utf-8');
Expected Result: string
Use charsetEncode to Encode with us-ascii
s=charsetDecode('string','us-ascii');
charsetEncode(s,'us-ascii');
Expected Result: string
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.