Text UtilitiesLesson 116Free preview
Text to Unicode
This lesson is part of Web Developer Tools · All levels
Summary
Converting text to Unicode converts each character into code points, usually written in U+XXXX or decimal number format. The process of reversing the code back to the original character. It helps to understand specific characters, emoji, and symbols that are not available directly on the keyboard. Each Unicode character has a unique value that can be used in a variety of programming languages.
Key points
- Each Unicode character has a single code point
- The common writing format is U+0041 for the letter A
- ASCII is in the range of U+0000 to U+007F
- Emojis outside of BMP require more than four hex digits
- Use codePointAt and fromCodePoint for astral characters
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.