chr - Convert numeric Unicode into String
The chr
function will convert a number, corresponding to a Unicode codepoint value, and render it out as a string.
Syntax
Arguments
Name | Type | Required | Description |
---|---|---|---|
number | number | true | The numeric value to convert to its corresponding unicode value |
Example - Rendering encoded non-standard characters
Consider the following document:
We can take the numeric value and render it in its true unicode form:
This will result in a document that looks like this:
Theme
Light