aboutsummaryrefslogtreecommitdiffstats
path: root/doc/copy-paste.txt
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-11-29 22:19:10 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2017-12-07 09:02:58 +0100
commit95c5d576fafa2f705e6562f57bab9a9d583c8776 (patch)
tree475b7ef3fb9831a094aec2eb562bef38a94be0f2 /doc/copy-paste.txt
parentedc44d613bdc57566a48ea855af86a9df0b3d13d (diff)
downloadcalcurse-95c5d576fafa2f705e6562f57bab9a9d583c8776.tar.gz
calcurse-95c5d576fafa2f705e6562f57bab9a9d583c8776.zip
Update UTF-8 base code
UTF-8 encodes characters in one to four bytes (since 2003). Because 0 is a valid code point, the decode function utf8_ord() should return -1, not 0, on error. As a consequence utf8_width() should return 0 for a continuation byte (as it did previously). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc/copy-paste.txt')
0 files changed, 0 insertions, 0 deletions