]> Kevux Git Server - fll/commit
Update: Add missing function in f_utf needed for completeness and reduce repeated...
authorKevin Day <thekevinday@gmail.com>
Tue, 7 Dec 2021 03:51:02 +0000 (21:51 -0600)
committerKevin Day <thekevinday@gmail.com>
Tue, 7 Dec 2021 03:51:02 +0000 (21:51 -0600)
commit8b5d185d80fda982ad26ec2e50b5c3771d34b25a
tree34b612e14123414dc494ad793235a161d9a97b83
parent53c4bd99a0632ea0d34206de489698860072e018
Update: Add missing function in f_utf needed for completeness and reduce repeated code.

As per my completeness principle, the f_utf_unicode_string_to() must have the f_utf_character_unicode_string_to() compliment.
This function only allows for ASCII characters to represent the number and returns errors as appropriate for non-ASCII values.
Unicode number values are not treated as the ASCII numbers for representing a Unicode code sequence.

The f_utf_character_unicode_to() and f_utf_unicode_to() now has code reduced by utilizing private_f_utf_character_unicode_to().
level_0/f_utf/c/private-utf.c
level_0/f_utf/c/private-utf.h
level_0/f_utf/c/utf.c
level_0/f_utf/c/utf.h