Skip to content

Commit b89b938

Browse files
authored
Update article.md
1 parent 69bfbb0 commit b89b938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/99-js-misc/06-unicode/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ JavaScript allows us to insert a character into a string by specifying its hexad
4444

4545
## Surrogate pairs
4646

47-
All frequently used characters have 2-byte codes (4 hex digits). Letters in 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). Letters in most European languages, numbers, and the basic unified CJK ideograph sets (CJK -- from Chinese, Japanese, and Korean writing systems), have a 2-byte representation.
4848

4949
Initially, JavaScript was based on UTF-16 encoding that only allowed 2 bytes per character. But 2 bytes only allow 65536 combinations and that's not enough for every possible symbol of Unicode.
5050

0 commit comments

Comments
 (0)