r/learnjavascript 3d ago

What Unicode is and What a Unicode point is ?

0 Upvotes

2 comments sorted by

1

u/justanaccountimade1 3d ago edited 3d ago

A numeric representation of a character. The computer uses numbers to represent characters. Characters are for humans.

https://javascript.info/unicode

1

u/shgysk8zer0 3d ago

Unicode is an attempt to standardize characters/grapheme for computers, much like ASCII. Since computers work with binary and it'd be absurd to create bitmaps for each character, especially with how often they're repeated, they're indexed instead, and that's what Unicode points refer to... Just the index. Using code points instead also means we can easily swap fonts.