]> Kevux Git Server - fll/commit
Update: handle invalid UTF-8 fragments
authorKevin Day <thekevinday@gmail.com>
Sat, 31 Aug 2019 20:59:55 +0000 (15:59 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 31 Aug 2019 20:59:55 +0000 (15:59 -0500)
commit397823e1b7ff07f3891763f2f414c6259684a4d5
tree79e4b87863ace62b2149b1367238599b3c787aa9
parent9c9eeea35e3553c9da655b87cd1ddd42ede67a7c
Update: handle invalid UTF-8 fragments

A 1-width UTF-8 character (that is not a valid ASCII character) is used to designate part of a complete UTF-8 character block (aka: 1-width UTF-8 characters are fragments).
Because this fragment cannot exist in isolation, it must be handled as either an invalid or an incomplete UTF-8 fragment.

Provide new status codes for handling incomplete UTF-8 fragments.
Update appropriate functions to detect and handle these invalid or incomplete fragments.
level_0/f_status/c/status.h
level_0/f_utf/c/utf.c
level_0/f_utf/c/utf.h
level_1/fl_status/c/status.c
level_1/fl_status/c/status.h
level_1/fl_strings/c/strings.c
level_1/fl_strings/c/strings.h
level_2/fll_status/c/status.c