You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/99-js-misc/06-unicode/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ JavaScript allows us to insert a character into a string by specifying its hexad
44
44
45
45
## Surrogate pairs
46
46
47
-
All frequently used characters have 2-byte codes (4 hex digits). Lettersin most European languages, numbers, and the basic unified CJK ideograph sets (CJK, from Chinese, Japanese, and Korean writing systems), have a 2-byte representation.
47
+
All frequently used characters have 2-byte codes (4 hex digits). Lettersin most European languages, numbers, and the basic unified CJK ideograph sets (CJK-- from Chinese, Japanese, and Korean writing systems), have a 2-byte representation.
48
48
49
49
Initially, JavaScript was based on UTF-16 encoding that only allowed 2 bytes per character. But2 bytes only allow 65536 combinations and that's not enough for every possible symbol of Unicode.
0 commit comments