From e2764bd5a6fac29d9b35d3d7364f2c4a42f81fb5 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Wed, 16 Aug 2023 05:31:48 -0700 Subject: [PATCH] improved documentation --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index de88a2d..e7090ee 100644 --- a/README.md +++ b/README.md @@ -114,10 +114,10 @@ Since, at least as of 2003, Unicode fits into 21 bits, and thus UTF-8 was design This is done as described in the following table: -| # of bytes | # bits for code point | 1st code point | last code point | byte 1 | byte 2 | byte 3 | byte 4 | -|------------|-----------------------|----------------|------------------|----------|----------|----------|----------| -| 1 | 7 | U+000000 | U+00007F | 0xxxxxxx | | | | -| 2 | 11 | U+000080 | U+0007FF | 110xxxxx | 10xxxxxx | | | -| 3 | 16 | U+000800 | U+00FFFF | 1110xxxx | 10xxxxxx | 10xxxxxx | | -| 4 | 21 | U+010000 | U+10FFFF | 11110xxx | 10xxxxxx | 10xxxxxx | 10xxxxxx | +| # of bytes | # bits for code point | 1st code point | last code point | byte 1 | byte 2 | byte 3 | byte 4 | +|------------|-----------------------|----------------|------------------|------------|------------|------------|------------| +| 1 | 7 | U+000000 | U+00007F | `0xxxxxxx` | | | | +| 2 | 11 | U+000080 | U+0007FF | `110xxxxx` | `10xxxxxx` | | | +| 3 | 16 | U+000800 | U+00FFFF | `1110xxxx` | `10xxxxxx` | `10xxxxxx` | | +| 4 | 21 | U+010000 | U+10FFFF | `11110xxx` | `10xxxxxx` | `10xxxxxx` | `10xxxxxx` | ```