]> Kevux Git Server - fll/commit
Bugfix: Problems exposed by unit tests for f_utf.
authorKevin Day <thekevinday@gmail.com>
Mon, 13 Jun 2022 23:58:12 +0000 (18:58 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 13 Jun 2022 23:58:12 +0000 (18:58 -0500)
commit2894bf88597b44d5f8ffd1ab36a53e6455facf4b
tree099b94dec4a7c043d7a3f2536d0368f46afada6a
parent6958f82a3d94ac6e87f4d58025263f963cac4a04
Bugfix: Problems exposed by unit tests for f_utf.

Correct comments and add missing characters.

Add the missing f_utf_character_is_surrogate() function.

Change the is valid algorithm to one I developed for the unit tests.
These are cleaner and simpler due to bitwise operations.
level_0/f_utf/c/private-utf_digit.c
level_0/f_utf/c/private-utf_emoji.c
level_0/f_utf/c/private-utf_valid.c
level_0/f_utf/c/utf/is_character.c
level_0/f_utf/c/utf/is_character.h