diff options
author | Pierre Ossman <ossman@cendio.se> | 2020-10-05 13:27:52 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2020-10-05 13:27:52 +0200 |
commit | e61ff736c150f06cee968ad4530db6bf83de5db3 (patch) | |
tree | 010aa591b261357b46de17ed112fc36790757cd5 /CMakeLists.txt | |
parent | c6f5f8b0b9505c1e323561b320a334a1ebd540a2 (diff) | |
download | tigervnc-e61ff736c150f06cee968ad4530db6bf83de5db3.tar.gz tigervnc-e61ff736c150f06cee968ad4530db6bf83de5db3.zip |
Return the correct number of consumed UTF-8 bytes
This would mess up most conversions from UTF-8 as the caller wouldn't
know how far to step to get to the next valid character, resulting in
markers for invalid data to be injected here and there.
Also add some unit tests to avoid this reoccurring.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions