diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-12-17 09:47:01 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-12-17 09:47:01 -0800 |
commit | 83d7d1a4cd39ac09c795838e26fa03f09f0cd604 (patch) | |
tree | 4534d351bd0b3ff06d7e2009b9381172cc51244d /win | |
parent | 39888e21ad17f5abbeaddc876f734a9683b5b914 (diff) | |
download | txr-83d7d1a4cd39ac09c795838e26fa03f09f0cd604.tar.gz txr-83d7d1a4cd39ac09c795838e26fa03f09f0cd604.tar.bz2 txr-83d7d1a4cd39ac09c795838e26fa03f09f0cd604.zip |
UTF-8: fix incorrect decoding of four-byte sequences.
utf8.c (utf8_decode): The wch_min value is set incorrectly for
the four byte case due to an extra zero; it should be only
0x10000. Code points encoded to four utf8 bytes start at this value.
The consequence of this error is that utf8-encoded characters
in this range are treated as invalid bytes after being decoded
due to failing the range test.
Diffstat (limited to 'win')
0 files changed, 0 insertions, 0 deletions