diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-06-20 18:48:48 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-06-20 18:48:48 -0300 |
commit | 19644585485799d19bf98035c8b2b2b1ab402c5f (patch) | |
tree | 42c5141badb945d663782ac4af3a68a588d8f6c4 | |
parent | cce3749761fc036f196cb50319c591f5d1fa5625 (diff) | |
download | jet-19644585485799d19bf98035c8b2b2b1ab402c5f.tar.gz jet-19644585485799d19bf98035c8b2b2b1ab402c5f.zip |
Fix unicode break on border between pages
-rw-r--r-- | point.cpp | 1 | ||||
-rw-r--r-- | unicode.txt | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -140,6 +140,7 @@ struct Point { for (size_t i = 1; i < type; i++) { rune <<= 6; iter.move_forward(); + if (iter.index == 0) iter.move_forward(); rune |= (iter.next_byte() & 0x3f); } return rune; diff --git a/unicode.txt b/unicode.txt index 65e62b3..5bcdd50 100644 --- a/unicode.txt +++ b/unicode.txt @@ -1 +1 @@ -$¢ह€한😁 +e$¢ह€한😁 |