We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Technology

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is a Code Point?

By T.S. Adams
Updated: Jan 30, 2024
Views: 7,348
Share

Code point refers to a specific numerical value that signifies any individual character in a character set. From an end-user point of view, typing on a computer is rather simple; pressing a labeled key on the keyboard creates a corresponding character on the screen. However, from the computer's point of view, typing is far more difficult. The inputs from the keyboard must be translated several times in order to generate the specific chosen character. The code point of a specific character is just one step along the translation chain, resulting in visible on-screen text within a particular character set.

A character set is like a multilingual dictionary that explains to the computer which numbers correspond to which characters. A code point is the number corresponding to a particular character in that character set. Examples of character sets commonly used in computers include the American Standard Code for Information Interchange (ASCII) and Unicode. Each of these sets has a different set of code points, so while, for example, Code Point 400 in ASCII might refer to the "!" character, in Unicode it might refer to "&".

Once the end-user presses a button on the keyboard, the hardware generates a specific set of electronic impulses that the computer acts to convert into binary. Binary is the language of computers, which is comprised of nothing but the characters "1" and "0". From this, the computer calculates a specific number, which it must then match against the code point of the character set to generate the intended character. Only after all of this does the computer produce the selected character onscreen.

Code points are stored on the computer in spaces ranging from one to four bytes. This is a terribly small chunk of memory, meaning that storing hundreds or thousands of code points is no real challenge for modern computers. The result is that makers of character sets often leave large amounts of space open for unspecified code point assignments, allowing programmers to add additional characters to the set as necessary without making substantial revisions to the code.

Another point worth noting is that code points are most commonly used for abstract, or non-standard, characters in a character set. To see an example of these abstract characters, open the "Start" menu on the computer — if using a Windows-based machine — and type "Charmap" into the "Start Search" box. Press "Enter" to display a list of the available abstract characters for a chosen character set.

Share
WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Editors' Picks

Discussion Comments
Share
https://www.wise-geek.com/what-is-a-code-point.htm
Copy this link
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.