From 19644585485799d19bf98035c8b2b2b1ab402c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Sat, 20 Jun 2020 18:48:48 -0300 Subject: Fix unicode break on border between pages --- point.cpp | 1 + unicode.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/point.cpp b/point.cpp index 8f05a46..a331cb7 100644 --- a/point.cpp +++ b/point.cpp @@ -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$¢ह€한😁 -- cgit v1.2.3