chr

Converts a numeric value to a UCS-2 character.

chr(number) → returns string

Argument Reference

number numeric
Required

The UCS-2 code value (a number in the range 0 - 65535)

Links more information about chr

Examples
Sample code invoking the chr function

x = chr( 8361 ); 
 writeOutput( 'character: #x#' ); 
 x = asc( x ); 
 writeOutput( '<br>Unicode value: #x#');

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub