--- title: "char" description: "Takes a Unicode character code (as an integer), and returns the Unicode character as a string." --- # char > Takes a Unicode character code (as an integer), and returns the Unicode character as a string. **This function is used by Ignition's Expression language.** ## Description :::note This function can work for ASCII conversions as well, since Unicode and ASCII character codes match for all ASCII characters. ::: ## Syntax `char(code)` ### Parameters | Type | Parameter | Description | |---|---|---| | Integer | `code` | The character code for a Unicode character. | ### Results **String** - The corresponding Unicode character, as a one-character string. ## Examples ```python title="Code Snippet" char(88) //Returns "X". ``` ```python title="Code Snippet" char(425) //Returns "?". ``` ```python title="Code Snippet" char(-1) //Returns Error_Expression Eval. ```