Returns a character corresponding to the character code according to the current string encoding.
Syntax
char(code)
Remarks
If a valid character can't be returned then '?' should be returned instead.
Example
.stringencoder ascii .echoln char($03A3) ; ? .stringencoder utf16 .echoln char($03A3) ; Greek Σ. /* If this example doesn't work, set your console to a codepage that can display Greek characters (CHCP 1253 on Windows). Using Western European (DOS) (code page 850) 'S' is displayed instead of Σ. */