numToNativeChar | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the native character corresponding to an ASCII value. | ||||||
Introduced | 7.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Function: nativeCharToNum, numToChar, charToNum, codepointToNum, numToCodepoint | ||||||
Description | Use the numToNativeChar function to translate numbers into their native character equivalents. The numToNativeChar function is the inverse of the nativeCharToNum function. These functions convert between text and native characters and are replacements for the deprecated numToChar and charToNum functions. As the “native” character sets for each platform have a limited and different repertoire, these functions should not be used when preservation of Unicode text is desired. Any characters that cannot be mapped to the native character set are replaced with a question mark character (‘?’). Unless needed for compatibility reasons, it is recommended that you use the numToCodepoint and codepointToNum functions instead. |