You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
This is an old revision of the document!
The Unicode codepoint of the character to return.
The Unicode character corresponding to the given codepoint, or a question mark "?" if the code was negative.
code of 0 (zero) returns an empty string.code between 55296 (0xD800) and 57343 (0xDFFF) inclusive returns the three-character string "???".code of 65534 (0xFFFE) also returns the three-character string "???".code between 1,114,112 (0x110000) and 2,097,151 (0x1FFFFF) inclusive returns the four-character string "????".code between 2,097,152 (0x200000) and 67,108,863 (0x3FFFFFF) inclusive returns the five-character string "?????".code between 67,108,864 (0x4000000) and 2,147,483,647 (0x7FFFFFFF) inclusive returns the six-character string "??????".code of 0 (zero) returns an empty string. All other combinations return a string of length 1. LSO allows invalid Unicode characters like codepoints 0xD800, 0xFFFE, 0x110000.string s = llChar(65); // sets s to the letter "A" llOwnerSay(llChar(9829)); // displays a heart, "♥" llOwnerSay(llChar(0x2665)); // same
llOrd to perform the opposite conversion.llBase64ToString to convert a Base64 string representing a UTF-8 byte sequence to Unicode, and llIntegerToBase64 to convert a number to a Base64 string.llUnescapeURL to convert a URL-encoded string to Unicode.llGetSubString to get a substring of a string.