From 455c57aa5586a26eae5d435907381ee89fe67d1b Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Mon, 10 Oct 2022 11:54:42 -0300 Subject: [PATCH] Update article.md --- 1-js/99-js-misc/06-unicode/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/99-js-misc/06-unicode/article.md b/1-js/99-js-misc/06-unicode/article.md index 04a445ca..96b93e74 100644 --- a/1-js/99-js-misc/06-unicode/article.md +++ b/1-js/99-js-misc/06-unicode/article.md @@ -44,7 +44,7 @@ JavaScript allows us to insert a character into a string by specifying its hexad ## Surrogate pairs -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. +All frequently used characters have 2-byte codes (4 hex digits). Letters in most European languages, numbers, and the basic unified CJK ideographic sets (CJK -- from Chinese, Japanese, and Korean writing systems), have a 2-byte representation. 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.