]> Kevux Git Server - fll/commit
Update: add a space after "combining" characters and catch a few more invalid UTF...
authorKevin Day <thekevinday@gmail.com>
Mon, 9 Sep 2019 03:57:47 +0000 (22:57 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 9 Sep 2019 03:57:47 +0000 (22:57 -0500)
commitf1000a0d576666664bbd54cddb8eb5662be92cc7
tree80c629c9b12d3349954eff9eddd48b4ef97e0c9a
parent731c1a45e773426393c7bb6da4ee703720ea1e6d
Update: add a space after "combining" characters and catch a few more invalid UTF-8 sequences

Previously, I just printed a space instead of printing the "combining" characters.
It occurred to me that I could print a space following a known "combining" character to cause it to combine into a space.
This makes things easier to view and still displays the combining character instead of hiding it behind a blank space.
The downside is that this might cause problems if someone tried to copy and paste these combined characters.

Catch a few more invalid UTF-8 sequences that I came across while making these changes.
Fix an existing invalid UTF-8 sequence detection that seems to have been incomplete and incorrect.
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/c/private-byte_dump.c