]> Kevux Git Server - fll/commit
Bugfix: NULL is a valid character, causing utf8 not to properly print NULL characters.
authorKevin Day <thekevinday@gmail.com>
Tue, 10 May 2022 02:45:09 +0000 (21:45 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 10 May 2022 02:45:09 +0000 (21:45 -0500)
commit97535a5f6f354bf39438e8d2b9aa54534b07a113
treeb5d75ffc9e1972820ca1692e99b7e4200f200bed
parent2ba606d8dd6838e1fd2074f77c2a4e75c1b976c4
Bugfix: NULL is a valid character, causing utf8 not to properly print NULL characters.

The function f_utf_unicode_from() is incorrectly treating f_utf_char_t as a string (or a pointer).
The f_utf_char_t is a 32-bit integer.
The !0 check is therefore incorrect.

This affects all print functions.
level_0/f_utf/c/utf/convert.c