Find out what Unicode characters there are and how they’re encoded.
Run the code to get the character codes of the characters in a text string. Try different strings:
Characters are represented on computers by numeric character codes. There are various ways to assign codes to characters; the Wolfram Language uses the Unicode standard.
In Unicode, the character “A” is represented by 65:
Get the character codes of a longer text string:
Turn character codes into characters. Try different character codes:
Turn character codes into characters with FromCharacterCode.
In Unicode, 97 represents the lowercase character “a”:
Get the character string that corresponds to a list of character codes:
Get a range of characters. Try different ranges:
Character sets like alphabets or digits occupy ranges of adjacent character codes in Unicode.
The characters from 97 to 122 are the Latin alphabet:
The characters from 48 to 57 are the digits:
The Greek alphabet occupies character codes 945 to 969:
Display a character and its code. Try character codes other than 8364:
Note: replace both instances of 8364 to change the character code.
The euro symbol is Unicode 8364:
Use Style to display the character in a 100-point font (a point is a printer’s measure equal to 1/72 inch):
Label the character with its character code:
Make it interactive. Drag the slider to explore Unicode characters:
Hint: press (or ) for fine control while dragging the slider; press + (or +) for even finer control.
This displays a large euro symbol and its character code:
Make an interactive interface that lets you choose the character that is displayed using Manipulate.
Wrap the Labeled expression with Manipulate, replace the fixed character code 8364 with the variable n, and specify that n ranges from 0 to 65535 in steps of 1. Drag the slider to see different characters and their codes:
Explore ranges of characters:
Replace n with a range, add a control for dn, and let the range go from n to n+dn. The upper limit 65535 of n must be reduced to 65435 to leave room for a dn value of 100:
Share It—Make an interactive website for exploring the Unicode character space:
Deploy the Manipulate to the Wolfram Cloud where anyone with a browser can use it:
Click on the link in the output to visit the site.
Tell the world about your creation by sharing the link via email, tweet, or other message.